IPChains

Chris Midkiff chris at dctkc.com
Wed Nov 1 21:13:48 CST 2000


Command would be something like the following:

ipmasqadm portfw -a -P tcp -L $IPADDR 80 -R 192.168.1.2 80

with 192.168.1.2 being the web server's internal address and $IPADDR being
the gateway's external address.  This would allow all trafic to port 80 to
be forwarded to the private web server.

I take it you already have an rc.firewall or something similar running the
ipchain commands, just put this line in after the masquerading commands.

> -----Original Message-----
> From: Gene Dascher [mailto:gedascher at multiservice.com]
> Sent: Wednesday, November 01, 2000 9:37 AM
> To: Kclug
> Subject: IPChains
> 
> 
> 	I have a P133 running as my gateway for my @Home modem. 
>  I have minimal
> services running on it to decrease the security risks.  Is it 
> possible to
> use ipchains on that machine to forward any http requests to 
> a machine on my
> internal network without running Apache on the gateway machine?
> 
> Thanks,
> 
> Gene Dascher
> Multi Service Corp.
> gedascher at multiservice.com
> (913)663-9415
> 




More information about the Kclug mailing list