General discussion

Locked

How do I re-route an IP address?

By tchieng ·
How do I forward or redirect a requested IP address to another IP address. Or is that even possible?

The reason I'm asking is because we have a SonicWall SOHO3 firewall appliance with NAT enabled. We've configured it so that the outside world can get to our mail server (which is behind the firewall on the LAN) using a public IP address. This works great, btw. The problem is that if I ping this public IP address from within the LAN itself, it goes nowhere. I want to be able to redirect local request to this public IP address to our mail server. In other words, I want to be able to access this mail server from within the LAN using either local or public IP address. How can I go about doing that? Thanks in advance.

This conversation is currently closed to new comments.

6 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by Curacao_Dejavu In reply to How do I re-route an IP a ...

re:The problem is that if I ping this public IP address from within the LAN itself, it goes nowhere.
this is not possible, in one the latest releases of sonic wall it is documented somewhere. (read me file ?? )

For the internal network, you can use or the netbios name of the server or the internal ip (ie 192.168.0.10) in the settings of your mail client.

obviously you can access the the public ip via the internal network. thats just the way it is.
when you are hosting a service on your internal network , in order for you to access it, you need to use the private range network adresses.

Leopold

Collapse -

by Joseph Moore In reply to How do I re-route an IP a ...

Another solution I have seen is you run your own internal DNS server, which points the FQDN for your mail server, but points it to the 192.168.x.x internal IP, not the static IP that is on the SonicWall.
So, users internal can send mail to SMTP.MYCOMPANY.COM internally (which routes to the internal 192.168 IP) and external users can send mail to SMTP.MYCOMPANY.COM (which, again for the external users, routes to the static IP that is assined by your ISP, using the public MX record in the nameserver of the ISP).

Collapse -

by Joseph Moore In reply to

And then, your internal users use your internal DNS as their primary DNS server. You also then set up the internal DNS server to Forward DNS queries for zones it does not know about to the public DNS server from your ISP.
hope this helps

Collapse -

by tlath1972 In reply to How do I re-route an IP a ...

You may have to put a hole in the firewall for port 25 smtp or whatever mail protocol you are using. If you are running DNS locally you may have an MX record to the this public ip. Another thing would be to put in tcp/ip properties put in the default gateway of either the internal or external ip of the soho and or put one of those numbers in DNS in the tcp ip properties of the network card. The internal adress i think is something like 192.0.0.1 or something to that effect. Would like to know what OS you are running and where the mail is located internally or externally on the internet.

Collapse -

by sharon In reply to How do I re-route an IP a ...

since the email server sits on the inside of the firewall, set the ip address to an internal ip, and then, in your sonicwall, set up a 1 to 1 nat, that will translate the internal ip to whatever external ip address that you need.

Collapse -

by tlath1972 In reply to How do I re-route an IP a ...

I think maybe doing a route ad to your routing table may work. Just add the ip address of your sonic wall. Also you want to make sure that the the SMTP port is open I think port 23

http://windows.about.com/library/tips/bltip312.htm

Back to Networks Forum
6 total posts (Page 1 of 1)  

Related Discussions

Related Forums