mirror of
https://github.com/bol-van/zapret.git
synced 2025-08-10 01:02:03 +03:00
init.d: openwrt min disk space startup
This commit is contained in:
8
init.d/openwrt-minimal/tpws/etc/nftables.d/90-tpws.nft
Normal file
8
init.d/openwrt-minimal/tpws/etc/nftables.d/90-tpws.nft
Normal file
@@ -0,0 +1,8 @@
|
||||
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
|
||||
}
|
Reference in New Issue
Block a user