The above rules are for a router based setup, i have a running bridge, br0, and i would like the traffic to pass through the above rules, the main aim is the filter. but the above do not seem to work, i am confused on INPUT, OUTPUT AND FORWARD.
If you can change them to bridge enviroment, it would really help me get the bridge filter working. thanks.
iptables -A INPUT -p tcp --syn -m limit --limit 1/s --limit-burst 3 -j RETURN
iptables -A INPUT -p tcp --syn -m limit --limit 1/s --limit-burst 1 -j LOG --log-prefix FLOOD: --log-level 7
# Limit the number of incoming tcp connections
iptables -N syn_flood
iptables -A INPUT -p tcp --syn -j syn_flood
iptables -A syn_flood -m limit --limit 1/s --limit-burst 3 -j RETURN
iptables -A syn_flood -m limit --limit 1/s --limit-burst 1 -j LOG --log-prefix SYN-FLOOD: --log-level 7
iptables -A syn_flood -j DROP
Main Topics
Browse All Topics





by: BlazPosted on 2009-11-01 at 01:33:46ID: 25713116
What exactly is your question? How to configure a bridge?