Quote:
Originally Posted by hua
ip nat inside source static 10.4.46.10 87.147.20.12 extendable
|
this method will redirect a single public IP into a single LAN IP host - means all port 1 to 65335 from your 87.147.20.12 public IP will be redirect to your 10.4.46.10 server.
Quote:
They asked me if I want to remove all of this and make a port redirection from the Public IP to my private IP (server).
|
this example will redirect certain port from your public IP to port on your server , and let other ports stay closed :
ip nat inside source static 10.4.46.10 25 87.147.20.2 25 extend --> smtp
ip nat inside source static 10.4.46.10 110 87.147.20.2 110 extend --> pop
ip nat inside source static 10.4.46.10 995 87.147.20.2 995 extend --> pop3s
ip nat inside source static 10.4.46.10 80 87.147.20.2 80 extend --> www
ip nat inside source static 10.4.46.10 443 87.147.20.2 443 extend --> https
you are very welcome.
HTH.