ipchains and REDIRECT

1999-11-19 Thread Jonathan Lupa
Hi all, Ever since moving to the 2.2 kernels and switching to ipchains, I have not been able to get redirection working right, and I'm hoping someone can spot what I am doing wrong... I have a gateway computer called sith, and two computers sitting behind it named rankor and fig. The ppp0 line i

Re: ipchains and REDIRECT

1999-11-20 Thread Chris Schleifer
Hi, I just had to do the same thing as you and had no problems. I am using a 2.2 kernel w/ ipchains and had to forward port 80. The IP Masquerade HOWTO was really helpful to me (http://www.linuxdoc.org/HOWTO/IP-Masquerade-HOWTO.html). Chapter 6 explains exactly how to do port forwarding with 2.2 k

Re: ipchains and REDIRECT

1999-11-20 Thread Chris Schleifer
Well now I'm confused I just looked a little more into this and it looks like you should be able to use the REDIRECT rule as long as you said yes to transparent proxy in the kernel config (according to the kernel help and man ipchains). Anyway I guess the best suggestion I can give after all is to

Re: ipchains and REDIRECT

1999-11-20 Thread Chris Schleifer
Aargh, I'm really sorry to reply to myself twice. But I promise I'm done now ;-). I found the post linked to below on deja.com which explains it all. Basically REDIRECT is only for forwarding between ports on the _local_ machine. You need ipmasqadm to forward to another machine. The post: http://

Re: ipchains and REDIRECT

1999-11-20 Thread Jonathan Lupa
On Sat, Nov 20, 1999 at 02:57:08AM +, Chris Schleifer wrote: > I found the post linked to below on deja.com which explains it all. > Basically REDIRECT is only for forwarding between ports on the _local_ > machine. You need ipmasqadm to forward to another machine. Yes, this was it. Problem sol