VPN working but client doest use wan ip
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).
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:
source: OpenVPN tunnel network
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 =)