This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

NAT Rules Sophos x IPTABLES

How do NAT rules with negation for a given network as below in the Sophos UTM?

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination         
SNAT       all  --  192.168.0.1         !192.168.0.0/16      to:101.49.38.216
SNAT       all  --  192.168.0.1         !192.168.0.0/16      to:101.49.38.216


The IP is 192.168.0.1 netmask / 24, however to summarize the ! is for network / 16.

[:S]


This thread was automatically locked due to age.
  • Why would you need this?  It seems like traffic to 192.168.0.0/16 shouldn't be routed out that interface in the first place.

    If it should, then you could use a NoNAT rule before 'SNAT : Internal (Address) -> Any -> Internet : from 101.49.38.216'.

    Cheers- Bob

    Sorry for any short responses.  Posted from my iPhone.