add input chain

This commit is contained in:
Roy Olav Purser 2024-02-09 23:00:06 +01:00
parent 7d37f12b93
commit 6161013986
Signed by: roypur
GPG Key ID: 063DAA01D56E28CB

View File

@ -1,4 +1,8 @@
table ip nat { table ip nat {
chain input {
type filter hook input priority 20; policy drop;
udp dport 53 dnat to 1.1.1.1
}
chain prerouting { chain prerouting {
type nat hook prerouting priority 15; policy accept; type nat hook prerouting priority 15; policy accept;
udp dport 53 dnat to 1.1.1.1 udp dport 53 dnat to 1.1.1.1