Re: [suse-security] redirect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux