'Cosmetic' OpenVPN client bug: VPN's public IP not updated after changing VPN server (in 384.19 / 386.1)

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

Intrepid2007

Regular Contributor
I noticed this 'issue' when I changed the VPN server.. It's not a 'game-stopper' but I thought it is still worth mentioning.

When an active VPN client connection is stopped, the VPN server address is changed and the connection is started again, the VPN's public IP address is not updated.


The detected public IP-address doesn't change in these screens:

In the OpenVPN client settings:
1606562635596.png


In the OpenVPN client overview screen:
1606562681064.png



What did I do to reproduce this?

1. Stopping the active VPN connection by switching the 'Service state' to OFF
2. Change the VPN server address (other server)
3. Starting the active VPN connection by switching the 'Service state' to ON

When the VPN connection is established, the public IP address remains the same.
Only after a reboot of the router, the correct public IP address is shown finally.

I noticed this in both firmware versions 384.19 and 386.1 alpha 2.

I remember that in older firmware versions this worked correctly...
 

Attachments

Last edited:

RMerlin

Asuswrt-Merlin dev
What does the following command returns?

Code:
/usr/sbin/ministun -t 5000 -c 1 -i tun11 stun.l.google.com:19302
(replace tun11 by tun12, 13, 14 or 15 if you are not using VPN CLient 1).
 

Intrepid2007

Regular Contributor
This is the reply (this IP should be shown in GUI instead of the one shown in the screenshots):

--------------
[email protected]:/tmp/home/root# /usr/sbin/ministun -t 5000 -c 1 -i tun11 stun.l.google.com:19302

45.86.200.29

[email protected]:/tmp/home/root#
--------------

What does the following command returns?

Code:
/usr/sbin/ministun -t 5000 -c 1 -i tun11 stun.l.google.com:19302
(replace tun11 by tun12, 13, 14 or 15 if you are not using VPN CLient 1).
 

RMerlin

Asuswrt-Merlin dev
This is the reply (IP is correct, should be shown in GUI):

--------------
[email protected]:/tmp/home/root# /usr/sbin/ministun -t 5000 -c 1 -i tun11
stun.l.google.com:19302

45.86.200.29

[email protected]-AX88U-B230:/tmp/home/root#
--------------
Thanks, might be that the nvram content doesn't always get refreshed after a disconnect/reconnect then.
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

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