Displaying 1 result from an estimated 1 matches for "pub_aaaa".
2017 Feb 03
4
[Bug 1117] New: Table ipv4-nat prerouting dnat doesn't accept dest IP:PORT
...p nat -nn -a
table ip nat {
chain prerouting {
type nat hook prerouting priority -150; policy accept;
iif "pub-aaaa" tcp dport 80 dnat to :80 # handle 4
}
chain postrouting {
type nat hook postrouting priority -150; policy accept;
oifname "pub_aaaa" masquerade # handle 3
}
}
--------
Here , in handled #4, the destination ip isn't added in the ruleset, but the
destination port is.
But:
--------
# nft add rule ip nat prerouting iif pub-aaaa tcp dport 8080 dnat
192.168.123.20
# no error
# nft list table ip nat -nn -a
table ip nat...