Changes between Version 10 and Version 11 of SDR


Ignore:
Timestamp:
04/01/2021 09:42:56 PM (15 months ago)
Author:
Cale Collins
Comment:

added routing for era

Legend:

Unmodified
Added
Removed
Modified
  • SDR

    v10 v11  
    128128
    129129{{{#!bash
     130nft flush ruleset # clear existing rule set
    130131
    131 nft flush ruleset # clear existing rule set
    132132nft add table nat
    133133
    134134nft 'add chain nat postrouting { type nat hook postrouting priority 100 ; }'
     135
    135136nft 'add chain nat prerouting { type nat hook prerouting priority -100; }'
    136137
    137138nft 'add rule nat prerouting ip daddr 192.168.0.1 tcp dport { 3000 } dnat 192.168.3.1:3000'
     139
     140nft 'add rule nat prerouting iif eth0 tcp dport { 1138-1141, 3000 } dnat 192.168.3.1'
    138141
    139142nft add rule nat postrouting masquerade