Community discussions

MikroTik App
 
dog
Member Candidate
Member Candidate
Topic Author
Posts: 186
Joined: Wed Aug 12, 2009 3:37 pm
Location: Germany

PPPoE Server + Firewall rules

Thu Jan 28, 2010 8:57 pm

Hi,

I'm running a PPPoE Server on RouterOS 4.5
Is there a possibility to match any traffic that originates from a pppoe-client apart from their IP addresses?

Best regards

Max
 
savage
Forum Guru
Forum Guru
Posts: 1263
Joined: Mon Oct 18, 2004 12:07 am
Location: Cape Town, South Africa
Contact:

Re: PPPoE Server + Firewall rules

Fri Jan 29, 2010 9:40 am

/ip firewall filter add chain=forward in-interface=pppoe-whatever src-address=!Point-to-PointIPAddress
 
dog
Member Candidate
Member Candidate
Topic Author
Posts: 186
Joined: Wed Aug 12, 2009 3:37 pm
Location: Germany

Re: PPPoE Server + Firewall rules

Fri Jan 29, 2010 11:03 am

in-interface=pppoe-whatever
I don't really like the idea of creating over 80 rules :?
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26364
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: PPPoE Server + Firewall rules

Fri Jan 29, 2010 11:05 am

you want to match all pppoe client traffic in one rule ?
 
savage
Forum Guru
Forum Guru
Posts: 1263
Joined: Mon Oct 18, 2004 12:07 am
Location: Cape Town, South Africa
Contact:

Re: PPPoE Server + Firewall rules

Fri Jan 29, 2010 11:10 am

Considering each pppoe connection has a unique src-address, I doubt there's any other way than 1 rule per connection. You can use address lists, but then each pppoe-client will still be able to send traffic using another pppoe-client's src-address.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26364
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: PPPoE Server + Firewall rules

Fri Jan 29, 2010 11:11 am

how about address rage, or subnet? what do you want to do with that rule?
 
dog
Member Candidate
Member Candidate
Topic Author
Posts: 186
Joined: Wed Aug 12, 2009 3:37 pm
Location: Germany

Re: PPPoE Server + Firewall rules

Fri Jan 29, 2010 12:13 pm

what do you want to do with that rule?
Some basic spoofing prevention as well as filtering.
I would prefer "Prevent all pppoe-clients from accessing subnet 10.0.0.0/24" to "Prevent 80.x.x.x/24 from accessing subnet 10.0.0.0/24"

Who is online

Users browsing this forum: Google [Bot], kolt and 47 guests