From: Dick Middleton <dick@fo...> - 2009-10-25 19:47:01
I've got a rule:
src=0.0.0.0 dst=255.255.255.255 srv=67,68 i/f=all dir=both act=accept
It only generates a rule for INPUT. This is true for both "fw part of any" or
IPTABLES -A INPUT -p udp -m udp -m multiport -s 0.0.0.0 -d 255.255.255.255
--dports 68,67 -m state --state NEW -j ACCEPT
If I set dir to Outbound rule is put in FORWARD. This works for me; I'm
trying to pass DHCP from vpn tunnel to network i/f.
IPTABLES -A FORWARD -o + -p udp -m udp -m multiport -s 0.0.0.0 -d
255.255.255.255 --dports 68,67 -m state --state NEW -j ACC
But I don't understand. What's the logic of this?
Get latest updates about Open Source Projects, Conferences and News.