diff options
-rw-r--r-- | ipmasq/rules/A10dhcpd.rul | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipmasq/rules/A10dhcpd.rul b/ipmasq/rules/A10dhcpd.rul index dbc56c5..ff3cd29 100644 --- a/ipmasq/rules/A10dhcpd.rul +++ b/ipmasq/rules/A10dhcpd.rul @@ -22,8 +22,8 @@ if [ -n "$INTERNAL" ]; then $IPCHAINS -A output -j ACCEPT -s $IPOFIF/32 67 -d 255.255.255.255/32 68 -i ${i%%:*} -p udp ;; netfilter) - $IPTABLES -A INPUT -j ACCEPT -s 0.0.0.0/32 68 -d 255.255.255.255/32 67 -i ${i%%:*} -p udp - $IPTABLES -A OUTPUT -j ACCEPT -s $IPOFIF/32 67 -d 255.255.255.255/32 68 -o ${i%%:*} -p udp + $IPTABLES -A INPUT -j ACCEPT -s 0.0.0.0/32 -d 255.255.255.255/32 -i ${i%%:*} -p udp --source-port 68 --destination-port 67 + $IPTABLES -A OUTPUT -j ACCEPT -s $IPOFIF/32 -d 255.255.255.255/32 -o ${i%%:*} -p udp --source-port 67 --destination-port 68 ;; esac done |