1
22.1 Legacy Series / Re: VPN issue / Lan not reachable without static route
« on: April 23, 2022, 02:49:18 pm »
The connection does not fail , on the lan interface , i can see incoming VPN traffic source ip as 10.10.0.6.
what i wanted is to change the source ip from 10.10.0.6 to any ip address that belong to lan network (192.168.2.x)
i tried your suggestion by putting an outbound NAT on the OpenVPN interface.
Firewall, NAT, Outbound: interface=OpenVPN, source=any, port=*, destination=LAN net, destination port=*, NAT address=LAN address NAT Port=*
but this rule is not changing the source ip, as you can see in below trace
lan 2022-04-13T21:44:49 10.10.0.6:51945 192.168.2.100:80 tcp
Another thing, OpenVPN interface need to be created in the interface section for the outband NAT works correctly?
what i wanted is to change the source ip from 10.10.0.6 to any ip address that belong to lan network (192.168.2.x)
i tried your suggestion by putting an outbound NAT on the OpenVPN interface.
Firewall, NAT, Outbound: interface=OpenVPN, source=any, port=*, destination=LAN net, destination port=*, NAT address=LAN address NAT Port=*
but this rule is not changing the source ip, as you can see in below trace
lan 2022-04-13T21:44:49 10.10.0.6:51945 192.168.2.100:80 tcp
Another thing, OpenVPN interface need to be created in the interface section for the outband NAT works correctly?