.
This commit is contained in:
13
Router/nftables.conf
Normal file
13
Router/nftables.conf
Normal file
@@ -0,0 +1,13 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user