In conntrack, I've added a 'BOGON' ipset block list

        DROP:P  EXTIF:+BOGONS   -

Atm, the IPSet contains just the short/aggregated Cymru bogons list 
(http://www.team-cymru.org/Services/Bogons/bogon-bn-agg.txt).

Since it's only blocking matched Source-on-EXTIF, I too-quickly assumed that it 
would not mess with my internal networks.

But, since I've a VPN tunnel between this machine, and another box, even though 
the VPN's over the tun (not "EXT") intfc, the endpoints are clearly involved 
over the link.

So, I need to exclude them from the 'DROP'.

My question is which is the correct & most efficient method to do so?

My first inclination is to simply add my internal nets in use to another ipset, 
say MY_INT_NETS, and change

-       DROP:P  EXTIF:+BOGONS   -
+       DROP:P  EXTIF:+BOGONS!+MY_INT_NETS   -

which, IIUC, should work.

Is there a more 'shorewall' way -- something in shorewall.conf -- of keeping my 
used internal nets un-blocked?

Jason

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to