configure static route to public ip from lan

Soldato
Joined
22 Aug 2005
Posts
8,968
Location
Clydebank
Hi all

How do I set it up so I can browse to my public IP, from within my LAN and see my e.g webserver. The only way I can do it is to use the webserver LAN IP of 10.x.x.x but I want people both in side and outside the lan to use the publix 217.x.x.x. address.

My sonicwall router does not route traffic to the public ip from inside the lan.

What is the rule I need to create ?
 
I think I need to route between my LAN network and my public network range ( i have a block of 5 ips) rather than directly by host ips. Still trying to figure it out. Doens't help that sonicwall is so abstracted in its setup.
 
The 10.0.0.0 network is private, on the LAN side
The Sonicwall has a static public IP and NAT takes place to forward traffic through to the various services (ssh/http etc)

I have a block of 5 IPs (BT broadband) so my network netmask for my public ips is 255.255.255.248 and I want people inside my network (on the 10.0.0.0) to be able to connect to the public IP, but especially the single static IP which the sonicwall has, and then to be forwarded as if they were someone who was outside the network. I.e. to the web server which is 10.1.1.107 without having to key in the local address, just using the public ip.
 
Well If i for example i send an email to people some, internel some external I want to say to all of them connect to 217.xx.x..x instead of some people connect to 10 if you are inside and 217 if you are outside.

And If I configure my mail client to pick up mail from 10.1.1.107 then when I go home, it won't work obviously. If i can just use the public IP all the time no matter where I am it will work better.
 
Actually Thanks for this. It still did not work, we contacted Sonicwall support and it's turned out to be the POS BT wire router/modem which was causing us the issues ..
 
Back
Top Bottom