Connection attempts ingress is different from the egress.
This causes a problem for clients connecting, as replies are coming from a different source.
I can work around this by manually modifying my server routing table to direct traffic to a clients IP via the same interface, but it's manual.
Wondering if it's possible to add a "pre-route" command to my openvpn server configuration?
So, if a connection on UDP/1194 from 123.123.123.123 hits my server it will automatically add the route?
Like this:
Code: Select all
ip route add 123.123.123.123/32 via 192.168.1.254