Re: pppOE and Netfilter

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

 



Le sam 06/12/2003 à 01:14, ONeill Jack a écrit :
> Can Netfilter filter pppoe trafic ?

Yes. Just as any other IP traffic. PPPoE traffic appears through PPP
interface, most the time ppp0.

> (Config :
> Net -- ADSL Card|linuxbox|eth -- LAN)

Example :

	iptables -A FORWARD -s $LAN -i eth0 -o ppp0 -j ACCEPT
	iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
	[...]

There's a lot of tutorials and scripts examples on the web that explain
this...

-- 
http://www.netexit.com/~sid/
PGP KeyID: 157E98EE FingerPrint: FA62226DA9E72FA8AECAA240008B480E157E98EE
>> Hi! I'm your friendly neighbourhood signature virus.
>> Copy me to your signature file and help me spread! 



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux