I need some help with the syntax of adding a src-nat please?
I have an l2tp-client interface which connects to a remote network over the internet. At the moment I'm using a masquerade NAT rule to NAT all outbound traffic from my LAN to that remote network. This is the rule:
I need to change this to use a specific IP address instead of just using the dynamic address allocated to the l2tpclient1 interface, but I'm struggling to find the correct syntax and keep getting the following error:chain=srcnat action=masquerade out-interface=l2tpclient1
The remote network uses 172.0.0.0/8 (because of many different subnets) and my LAN uses 192.168.1.0/24. I would like to NAT all traffic from my LAN to the remote network out on 172.16.10.1.invalid value for argument min
Thanks in advance
Dominique