Mailinglist Archive: opensuse (4053 mails)

< Previous Next >
Re: [SLE] Ipchains redirecction
You can't do that with ipchains alone. You can do it with iptables with the
2.4 kernel. For 2.2 kernels you have to use ipmasqadm. For example:
/usr/sbin/ipmasqadm portfw -a -P tcp -L 80 -R 80

This line would create a forwarding rule from the proxy (at: ) to a web server at ip: Needless to say, your
kernel must have been compiled to support this. For udp you have to
substitute udp for tcp on the line. I used a similar rule to allow napster
connections back in the day.


----- Original Message -----
From: " Alfredo Flores H." <afh@xxxxxxx>
To: <suse-linux-e@xxxxxxxx>
Sent: Tuesday, August 07, 2001 1:02 AM
Subject: [SLE] Ipchains redirecction

> Hi Guys, i have this situation
> I have 1 web server running IIS and is behind a firewall that runs on SuSE
> :)
> In the firewall i have running a proxy software who redirects all trafic
> from the port 80 to port 80 on my web server. It works fine to protect the
> IIS box, but the logs have only the ip number of the firewall machine.
> Can i with ipchains redirect the traffic as i do with the proxy software??
> and if it's possible, the web server logs will capture the real ip of the
> visitors??
> Thanks a lot !!
> Alfredo
> --
> To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
> For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
> Also check the FAQ at and the
> archives at

< Previous Next >
Follow Ups