[SLE] firewall & forwarding an incoming socket to another IP
I have a web server behind a firewall that I would like to expose through my firewall. It is my understanding that it can be donw with ipmasqadm. My current firewall is a ipchains firewall. Can anyone enlight me to how I would forward a incoming request on port 80 to another internal machine? Sam -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
This works for me. # Load Port Forwarding Module /sbin/modprobe ip_masq_portfw # # Setup Port Forwarding Rules ipmasqadm portfw -f # Flush any existing rules # # Forward remote calls to port 81 to local port 80 ipmasqadm portfw -a -P tcp -L xxx.xxx.xxx.xxx 80 -R 192.168.10.2 80 You also need port forwarding support built into the kernel On Sun, 04 Jun 2000, you wrote:
I have a web server behind a firewall that I would like to expose through my firewall. It is my understanding that it can be donw with ipmasqadm. My current firewall is a ipchains firewall. Can anyone enlight me to how I would forward a incoming request on port 80 to another internal machine?
Sam
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- Chad Whitten cwhitten@intop.net http://whitten.dhs.org -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
check out the man pages for ipmasqadm, they give some specific examples on redirecting web traffic to internal machines.
I have a web server behind a firewall that I would like to expose through my firewall. It is my understanding that it can be donw with ipmasqadm. My current firewall is a ipchains firewall. Can anyone enlight me to how I would forward a incoming request on port 80 to another internal machine?
-Mark Enzenberger -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (3)
-
Anonymous User
-
cwhitten@intop.net
-
queue@arcticzoo.com