diff options
| author | Xiao Pan <xyz@flylightning.xyz> | 2026-01-04 16:19:42 +0800 |
|---|---|---|
| committer | Xiao Pan <xyz@flylightning.xyz> | 2026-01-04 16:19:42 +0800 |
| commit | edf34f2f963370455d06072dd6bfa15f86cfff87 (patch) | |
| tree | 644f792e33603dd926146b7c89411ed3518bca2c | |
| parent | d24634d8569c3c416dec87b3e04be1663fa06c8f (diff) | |
tmp config to allow xyzmi connect to swgp to wg to ba
| -rw-r--r-- | etc/nftables.conf | 2 | ||||
| -rw-r--r-- | etc/services | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/etc/nftables.conf b/etc/nftables.conf index 6bd80b22..02f65913 100644 --- a/etc/nftables.conf +++ b/etc/nftables.conf @@ -32,6 +32,8 @@ table inet my_table { #udp dport wireguard accept iifname wg_* ip saddr 10.0.0.7 tcp dport distccd-alarm-armv8 accept iifname wg_* ip6 saddr fdc9:281f:04d7:9ee9::7 tcp dport distccd-alarm-armv8 accept + ip saddr 192.168.0.0/16 udp dport swgp accept + ip6 saddr fe80::/10 udp dport swgp accept pkttype host limit rate 5/second counter reject with icmpx type admin-prohibited counter comment "count any other traffic" diff --git a/etc/services b/etc/services index 2d999045..49fb9ac5 100644 --- a/etc/services +++ b/etc/services @@ -11528,6 +11528,7 @@ distccd-alarm-armv8 49710/tcp iperf3 53497/tcp # qemu port forward guest windows virtual machine ssh qemu-win-ssh 53683/tcp +swgp 54635/udp # qbittorrent-nox web ui port for remote access browser gui qbt-nox 57151/tcp # qbittorrent/ options/ connection/ listening port |
