VPN working but client doest use wan ip
-
Hi,
what option i forgot to do.
I got my openvpn server working and i can connect to my openvpn server with my phone exsample. I can access to my lan too.
Only problem is that my device use own public ip, not my openvpn server wan ip (public ip).
-
@naksu
Go into the server settings and check "Redirect gateway IPv4" and also ~IPv6 if needed.Go to Firewall > NAT > Outbound. If automatic mode is enabled switch to hybrid.
Add a rule:
interface: WAN
source: OpenVPN tunnel network
dest: any
translation: interface address -
Thanks for help :)
" Go into the server settings and check "Redirect gateway IPv4" and also ~IPv6 if needed."
that was missing, now its working =)
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.