firewall: Apply destination NAT rules for the firewall itself, too.

This commit is contained in:
Michael Tremer
2014-04-09 14:16:32 +02:00
parent fcc68a4277
commit 99f11a16f6

View File

@@ -196,6 +196,7 @@ iptables_init() {
# DNAT rules
iptables -t nat -N NAT_DESTINATION
iptables -t nat -A PREROUTING -j NAT_DESTINATION
iptables -t nat -A OUTPUT -j NAT_DESTINATION
iptables -t mangle -N NAT_DESTINATION
iptables -t mangle -A PREROUTING -j NAT_DESTINATION