[EMAIL PROTECTED] 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 [EMAIL PROTECTED]
 See the linux-admin FAQ: http://www.kalug.lug.net/linux-admin-FAQ/

Reply via email to