summaryrefslogtreecommitdiff
path: root/etc/nftables.conf
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2025-07-30 22:37:34 +0800
committerXiao Pan <xyz@flylightning.xyz>2025-07-30 22:37:34 +0800
commit1a48642e5f1c2b3606ccf3780e474cafcfcd8459 (patch)
treefc7ffb26328bf482bd7476ebcfbfdb821e66b2f3 /etc/nftables.conf
parent0bd140e986f6e91bdb46cc072e6ed594d0cd44fb (diff)
remove phantun, because I switched to mimic
Diffstat (limited to 'etc/nftables.conf')
-rw-r--r--etc/nftables.conf15
1 files changed, 0 insertions, 15 deletions
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
- }
-}