Josholith / gnome-extension-lan-ip-address

https://extensions.gnome.org/extension/1762/lan-ip-address/
Other
20 stars 18 forks source link

Show tun0 ip with VPN #5

Open fakhamatia opened 4 years ago

fakhamatia commented 4 years ago

When I use openconnect or Windscribe or Nordvpn its showing tun0 IP not interface IP.

Josholith commented 4 years ago

Please clarify what you would like to see with an example. Currently this extension is designed to show a local address, such as an address that you could give to a coworker to ping or ssh to your machine. There are probably other GNOME extensions that show WAN or VPN ip addresses.

I use openconnect myself to connect to my company's network. If I use a split tunnel mode (where only traffic for the company network is routed through the VPN), then my LAN address as shown by this extension remains the same. This is my normal way of doing VPN since I don't need or want traffic to Google Drive, Zoom conferencing, Microsoft Office 365, etc. needlessly having to go through the company VPN.

If I run openconnect as a full tunnel (think of hotel or cafe use case where you want to route all of your traffic through the VPN), then this extension shows the tun0 address.

Is your use case that you want to use something like Nordvpn in full tunnel mode but still show your local interface ip address (like the one you would see on eth0 or wlan0)?