Re: rp-pppoe and firewall scripts

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

 



On Wed, 12 Feb 2003, Wolfgang Rapp wrote:

> The question is - adsl-start and adsl-connect call the firewall scripts 
> in /etc/ppp and these are using ipchains.
> Do adsl-setupt modify the iptables also. So is my version of rp-pppoe to 
> old or do I have remove the calls to /etc/ppp/firewall.xxx in 
> adsl-connect because these scripts are out of date if the iptables are 
> modified by adsl-setup the correct way.

You're right.  I was confused, I already set it up with RH72 (where the
rp-pppoe was broken), and completely forgot how it worked.  Yes, rp-pppoe
uses ipchains.

So, I did:

iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
iptables-save >/etc/sysconfig/iptables

Though it was already posted before, but for sake of completeness, you
need to enable ip forwarding in /etc/sysctl.conf:

net.ipv4.ip_forward = 1

This should get you running.  Cheers,

Michael





-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux