Posted: Wed Mar 03, 2021 12:00 Post subject: vpn connected but IP not changed !
Hi
using Ipvanish config in my linksys ea6900 with the latest v3 dd-wrt i have this in status / Openvpn:
Client: CONNECTED SUCCESS
Local Address: 172.21.30.19
Remote Address: 172.21.30.19
Local Address and Remote Address are the same !
when i check (whatismyip.com) i'm still in my original IP, not 172.21.30.19, witch means vpn is not working !
any help please ?
These are the local and remote IP addresses on the tunnel, NOT the public IP addresses of either the WAN or VPN. IIRC, it is normal (if a bit weird) for these to be the same depending on the tunnel topology (e.g., net30 vs. subnet). All that matters is whether everything else is otherwise working normally.
thanks for help, i dont know what hapens but its ok now ! all i did was :
- set wan connectiontype = Automatic Configuration DHCP
- reboot = vpn is OK
- return to my old config ( wan = disabled ) reboot
still working !!!
thanks for help, i dont know what hapens but its ok now ! all i did was :
- set wan connectiontype = Automatic Configuration DHCP
- reboot = vpn is OK
- return to my old config ( wan = disabled ) reboot
still working !!!
Well based on those particular comments, it suggests the dd-wrt router is NOT the only router in this network configuration, but more likely a secondary router to some other primary router. And if that's the case, it makes a *big* difference whether the relationship between the two is routed (WAN to LAN) vs. bridged (LAN to LAN).
If you're attempting to access the VPN from a *bridged* configuration (LAN to LAN), that could explain why the VPN appears to not be working. When bridged, the OpenVPN client is *only* serving the purposes of the AP itself. None of the other clients on the same local network even know that OpenVPN client exists, or if and how they should route to it. In a bridged configuration, those clients would have to change their default gateway from the primary router to the LAN ip of the AP. That can be done either on the client itself (statically), or via exceptions defined within the DHCP server (provided your DHCP server offers that option; many oem/stock firmware don't). That's why a WAN to LAN configuration is sometimes the better (perhaps even necessary) option.