Discussion Locked

How do I re-route an IP address?

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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.

6 replies

by curacao_dejavu

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

by joseph moore

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).

by joseph moore

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

by tlath1972

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.

by sharon

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.

This discussion is closed to new replies.