LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   how to Port forward web server using iptables (https://www.linuxquestions.org/questions/linux-networking-3/how-to-port-forward-web-server-using-iptables-546216/)

wilper 04-15-2007 09:37 AM

how to Port forward web server using iptables
 
Good day,

Im a newbie in iptables and i just want to know how to forward my webserver in port 80 in my private lan to see in public IP. example 192.168.2.23:80 that can see in internet 222.222.22.22:8080.? Thanks in advanced

:)

nmh+linuxquestions.o 04-15-2007 12:39 PM

Quote:

Originally Posted by wilper
Good day,

Im a newbie in iptables and i just want to know how to forward my webserver in port 80 in my private lan to see in public IP. example 192.168.2.23:80 that can see in internet 222.222.22.22:8080.? Thanks in advanced

:)

Have you already checked:

http://www.linuxquestions.org/questi...ad.php?t=31132
http://www.linuxquestions.org/questi...ad.php?t=31132
http://tldp.org/HOWTO/IP-Masquerade-HOWTO/index.html


All times are GMT -5. The time now is 04:45 AM.