14 lines
448 B
Plaintext
14 lines
448 B
Plaintext
table ip nat {
|
|
chain POSTROUTING {
|
|
type nat hook postrouting priority srcnat; policy accept;
|
|
oifname "enp0s3" counter packets 71 bytes 4910 masquerade
|
|
}
|
|
|
|
chain PREROUTING {
|
|
type nat hook prerouting priority dstnat; policy accept;
|
|
tcp dport 10001 counter packets 0 bytes 0 dnat to 192.168.200.3:22
|
|
tcp dport 10000 counter packets 0 bytes 0 dnat to 172.17.0.2:22
|
|
tcp dport 10002 counter packets 0 bytes 0 dnat to 192.168.200.2:22
|
|
}
|
|
}
|