500_router-traffic 575 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/bash
#
# Drop some incoming traffic from the router to port 80 before it hits the log. This uses the add_rule function
# defined in /usr/local/share/lxcfw/functions (or similar). Its parameters are:
#
#     <drop|reject|accept> <input|output|forward> <protocol> <iifname> <saddr> <sport> <oifname> <daddr> <dport>
#
# Again, required variables are set in the lxcfw.conf file.

add_rule  d  i  tcp  "$snat_iface"  "$xtern_gate"  -  -  "$xtern_netw"  80

# :indentSize=3:tabSize=3:noTabs=true:mode=shellscript:maxLineLen=115: ############################################