What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

OpenVPN IPs are not NATed for

thePassengers

New Around Here
Hi,

I run a pretty default setup (latest version) with 172.16.16.0/24 and OpenVPN server with the following config:

Push LAN to clients = Yes
Direct clients to redirect Internet traffic = No
Respond to DNS = No

I was debugging a reachability issue and noticed that the OpenVPN client IPs are not network-address-translated:

IP 10.8.0.2.38633 > 172.16.16.20.10000: Flags S

This is problematic because my local server 172.16.16.20 is also running a OpenVPN client to an external VPN service that sets the default route. The local server then doesn't have any route towards the asuswrt-merlin 10.8.0.2 IP and the TCP SA packet is sent through the external VPN.

Shouldn't the OpenVPN client 10.8.0.2 IP get natted to my 172.16.16.0/24 range by asuswrt-merlin?

Cheers,
thePassengers

btw, this also breaks port forwarding as those IPs are also not NAT'ed (different discussion, not needed IMO):

IP 178.111.111.111.65306 > 172.16.16.20.10000: Flags S
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top