zapret/init.d/openwrt-minimal/tpws/etc/nftables.d/90-tpws.nft

9 lines
237 B
Plaintext
Raw Normal View History

2024-10-21 17:43:29 +03:00
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
}