zapret/init.d/openwrt-minimal/tpws/etc/nftables.d/90-tpws.nft
2024-10-21 17:44:32 +03:00

9 lines
237 B
Plaintext

chain tpws_re {
type nat hook prerouting priority dstnat; policy accept;
tcp dport {80,443} redirect to :900
}
chain tpws_out {
type nat hook output priority -100; policy accept;
tcp dport {80,443} skuid != daemon redirect to :900
}