Hi,
I am using OpenVPN and followed the guide to configure OpenVPN client (tcp-client). This creates at tun/tap link. This creates a tun0 interface when connection is established. When I check using ip addr command on ssh terminal, I can see the IP address assigned by the server. However this IP Address is not shown on the interfaces list. (I added a new TUN interface with unmanaged protocol type). Is there any way to show this IP Address on the Luci GUI? In case it requires code change, can someone point me to the appropriate code in OpenWRT code base so that I can try to fix it myself.
Similar issue(s) with an unmanaged interface named tunl0
:
Edit:
@jow - he closed it, seems his patch never made it to version 18?
tunl0 Link encap:UNSPEC HWaddr 00-00-00-00-xx-xx-xx-xx-00-00-00-00-00-00-00-00
inet addr:xxx.xxx.xxx.xxx Mask:255.255.255.255
inet6 addr: fe80::xxxx:xxxx:xxxx:xxxx/64 Scope:Link
UP RUNNING NOARP MULTICAST MTU:1480 Metric:1
RX packets:6484461 errors:0 dropped:0 overruns:0 frame:0
TX packets:589628 errors:20 dropped:0 overruns:0 carrier:20
collisions:0 txqueuelen:1000
RX bytes:518064069 (494.0 MiB) TX bytes:64295656 (61.3 MiB)
Powered by LuCI openwrt-23.05 branch (git-23.118.79121-6fb185f) / OpenWrt 23.05.0-rc2 (r23228-cd17d8df2a)
Already a reported bug - issue still exists.
I don't recall when this workaround stopped working for the Realtime Graphs link - I will try to see if I have a record by having noted it in some other thread.
This requires to implement the OpenVPN protocol for netifd similar to OpenConnect:
Ok, thanks. I will take a look at it.
1 Like