From 1a48642e5f1c2b3606ccf3780e474cafcfcd8459 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Wed, 30 Jul 2025 22:37:34 +0800 Subject: remove phantun, because I switched to mimic --- etc/nftables.conf | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'etc/nftables.conf') diff --git a/etc/nftables.conf b/etc/nftables.conf index de1a28b4..6bd80b22 100644 --- a/etc/nftables.conf +++ b/etc/nftables.conf @@ -41,10 +41,6 @@ table inet my_table { type filter hook forward priority filter policy drop # Drop everything forwarded to us. We do not forward. That is routers job. - - # needed for phantun - iifname pt0 accept - oifname pt0 accept } chain my_output { @@ -53,14 +49,3 @@ table inet my_table { # Accept every outbound connection } } - -table inet nat { - # needed for phantun https://github.com/dndx/phantun - # note here is postrouting not prerouting, server side phantun config is prerouting instead - chain postrouting { - type nat hook postrouting priority srcnat - policy accept - iifname pt0 oif enp3s0 masquerade - iifname pt0 oif wlp2s0 masquerade - } -} -- cgit v1.2.3-70-g09d2