Update nftables.patch
This commit is contained in:
parent
fd14ffbea0
commit
33ebc46ac5
1 changed files with 2 additions and 2 deletions
|
@ -54,8 +54,8 @@
|
||||||
chain prerouting {
|
chain prerouting {
|
||||||
type nat hook prerouting priority dstnat; policy accept;
|
type nat hook prerouting priority dstnat; policy accept;
|
||||||
# Uncomment for E2Guardian
|
# Uncomment for E2Guardian
|
||||||
- # iifname $LAN ip daddr != 192.168.1.0/24 tcp dport 80 redirect to :8080
|
- iifname $LAN ip daddr != 192.168.1.0/24 tcp dport 80 redirect to :8080
|
||||||
- # iifname $LAN ip daddr != 192.168.1.0/24 tcp dport 443 redirect to :8443
|
- iifname $LAN ip daddr != 192.168.1.0/24 tcp dport 443 redirect to :8443
|
||||||
+ iifname $LAN ip daddr != $LANRANGE ip daddr != @blocklist tcp dport 80 redirect to :8080
|
+ iifname $LAN ip daddr != $LANRANGE ip daddr != @blocklist tcp dport 80 redirect to :8080
|
||||||
+ iifname $LAN ip daddr != $LANRANGE ip daddr != @blocklist tcp dport 443 redirect to :8443
|
+ iifname $LAN ip daddr != $LANRANGE ip daddr != @blocklist tcp dport 443 redirect to :8443
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue