summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/nftables.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/nftables.conf b/etc/nftables.conf
index 149beab1..aee344c6 100644
--- a/etc/nftables.conf
+++ b/etc/nftables.conf
@@ -75,8 +75,8 @@ table inet nat {
iifname $pub_iface tcp dport monerod-p2p dnat ip to 10.0.0.1:monerod-p2p
iifname $pub_iface tcp dport monerod-p2p dnat ip6 to [fdc9:281f:04d7:9ee9::1]:monerod-p2p
# needed for phantun
- iif $pub_iface tcp dport phantun dnat ip to 10.0.2.2
- iif $pub_iface tcp dport phantun dnat ip6 to fdc9:281f:04d7:9eeb::2
+ iifname $pub_iface tcp dport phantun dnat ip to 10.0.2.2
+ iifname $pub_iface tcp dport phantun dnat ip6 to fdc9:281f:04d7:9eeb::2
}
# for all packets to $pub_iface, after routing, replace source address with primary IP of $pub_iface interface
chain postrouting {