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

1 Answered Questions

How to add multiple "Forwarding routes" to stock VPN client?

  • 2019-10-26 17:18:45
  • Ryan Fick
  • 26 View
  • 1 Score
  • 1 Answer
  • Tags:   vpn

1 Answered Questions

[SOLVED] Automate Always-On VPN with Tasker

  • 2015-06-25 09:57:40
  • Martin
  • 2076 View
  • 3 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
  • 7456 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.
  • 102 View
  • 0 Score
  • 1 Answer
  • Tags:   vpn

3 Answered Questions

[SOLVED] OpenVPN vs built in vpn

1 Answered Questions

[SOLVED] Getting Exchange Email Through a Cisco VPN ?

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

Sponsored Content