Carlos said: > > I am preparing a webserver which will work behind a > firewall. For this I am using IPtables. > The External proxy address is 203.199.111.24 > The Webserver address is 192.168.0.14 > > > how do i make port 80 available to the internet.. please help as i am used > to using ipchains... iptables is alittle confusing for me right now.... >
correct me if i'm wrong: i read somewhere ipchains or iptables(?) can only redirect packets to local ports. what i needed was redirecting to another machine & port. so i downloaded rinetd. it is very easy to use. just put rinetd.conf in /etc with the line 0.0.0.0 80 192.168.0.14 80 this will redirect all requests & replies from anywhere to port 80 of your firewall to 192.168.0.14 port 80. works with windows too -- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
