Changes between Version 10 and Version 11 of SDR
- Timestamp:
- 04/01/2021 09:42:56 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SDR
v10 v11 128 128 129 129 {{{#!bash 130 nft flush ruleset # clear existing rule set 130 131 131 nft flush ruleset # clear existing rule set132 132 nft add table nat 133 133 134 134 nft 'add chain nat postrouting { type nat hook postrouting priority 100 ; }' 135 135 136 nft 'add chain nat prerouting { type nat hook prerouting priority -100; }' 136 137 137 138 nft 'add rule nat prerouting ip daddr 192.168.0.1 tcp dport { 3000 } dnat 192.168.3.1:3000' 139 140 nft 'add rule nat prerouting iif eth0 tcp dport { 1138-1141, 3000 } dnat 192.168.3.1' 138 141 139 142 nft add rule nat postrouting masquerade