Ebtables: Difference between revisions
Appearance
Content deleted Content added
| Line 87: | Line 87: | ||
# mark incoming data so that we can account it. |
# mark incoming data so that we can account it. |
||
# The iptables rules should work also with a default DROP target but then additional lines are needed to pass the data that is needed. |
|||
iptables -A FORWARD -i ppp0 -o int0 -j MARK --or-mark $MINET |
iptables -A FORWARD -i ppp0 -o int0 -j MARK --or-mark $MINET |
||
ip6tables -A FORWARD -i ppp0 -o int0 -j MARK --or-mark $MINET |
|||