By Áxel Costas Pena


2019-07-09 10:59:40 8 Comments

I have connected an android device to a VPN using the native Android VPN client feature. I need to know the IP the device has been assigned on the VPN subnet, but I can't find it on any Android menu nor with any tool.

1 comments

@Irfan Latif 2019-07-09 19:25:46

Android's VPN uses TUN interface on OSI Layer 3. So you can find what IP is assigned to that interface using Android's built-in command ip. From any terminal app or adb shell:

~$ ip addr | awk '/inet.*tun/ {print $2}'

Related Questions

Sponsored Content

0 Answered Questions

How to bypass "Always on VPN" demand for numeric IP and use a domain instead?

  • 2019-02-26 08:17:53
  • Ariel
  • 64 View
  • 0 Score
  • 0 Answer
  • Tags:   vpn

1 Answered Questions

[SOLVED] Automate Always-On VPN with Tasker

  • 2015-06-25 09:57:40
  • Martin
  • 1967 View
  • 2 Score
  • 1 Answer
  • Tags:   tasker vpn

2 Answered Questions

[SOLVED] How to connect to multiple VPN in android

  • 2014-11-10 21:19:15
  • user23047
  • 6037 View
  • 4 Score
  • 2 Answer
  • Tags:   vpn

1 Answered Questions

Setting VPN when the built-in setting is absent/hidden

  • 2016-07-03 13:54:58
  • John M.
  • 95 View
  • 0 Score
  • 1 Answer
  • Tags:   vpn

0 Answered Questions

How to Reverse Usb Tethering with VPN [tun0 interface] routing?

0 Answered Questions

OpenVPN Connect (Android): How to allow local traffic to bypass VPN

3 Answered Questions

[SOLVED] OpenVPN vs built in vpn

0 Answered Questions

Browsing using VPN when connected over WiFi doesn't work

1 Answered Questions

[SOLVED] Getting Exchange Email Through a Cisco VPN ?

  • 2011-11-16 11:18:30
  • Omar Kooheji
  • 1859 View
  • 0 Score
  • 1 Answer
  • Tags:   email vpn

0 Answered Questions

Vpn Client to connect to Windows 7 VPN

  • 2012-04-19 00:29:10
  • Nick
  • 405 View
  • 2 Score
  • 0 Answer
  • Tags:   vpn

Sponsored Content