Will try this out. thanks, Noah On Fri, 28 Jul 2000, Chris Drauch wrote:
Date: Fri, 28 Jul 2000 14:56:32 +0100 From: Chris Drauch
To: ksemat@wawa.eahd.or.ug Cc: linux-net@vger.rutgers.edu, linux-admin@vger.rutgers.edu, suse-security@suse.com Subject: Re: [suse-security] redirect ksemat@wawa.eahd.or.ug wrote:
Hi all, I would like to http requests on port 80 to my firewall machine running ipchains to another machine on my local network with rfc1918 ip and for that machine to be able to respond and send replies back to where they came from. I am running SuSE linux 6.4 kernel 2.2.14 with ipchains and ipmasqadm.
#!/bin/bash LS=your.external.firewall.ip HTTPD=your.rfc1918.internal.ip ipmasqadm portfw -a -P tcp -L $LS http -R $HTTPD http ipchains -I forward -p tcp -s $HTTPD http -j MASQ
-- cdr -====---====---====---====---====---====---====---====---====---====---====- to unsubscribe email "unsubscribe linux-admin" to majordomo@vger.rutgers.edu See the linux-admin FAQ: http://www.kalug.lug.net/linux-admin-FAQ/
Noah ksemat@eahd.or.ug