Untitled
unknown
plain_text
a year ago
569 B
6
Indexable
#!/usr/sbin/nft -f
table inet nat {
chain prerouting {
type nat hook prerouting priority 0; policy accept;
}
chain postrouting {
type nat hook postrouting priority 100; policy accept;
oifname "wlan0" masquerade
}
chain input {
type filter hook input priority 0; policy accept;
}
chain forward {
type filter hook forward priority 0; policy accept;
ip saddr 10.110.1.0/24 ip daddr 0.0.0.0/0 accept
}
chain output {
type filter hook output priority 0; policy accept;
}
}
Editor is loading...
Leave a Comment