VPN tunnel IP is 172.16.4.2, how can I see what IP's/Subnets are on the other side?

This is the ifconfig:

utun2: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1340
    options=6403<RXCSUM,TXCSUM,CHANNEL_IO,PARTIAL_CSUM,ZEROINVERT_CSUM>
    inet 172.16.4.2 --> 172.16.4.2 netmask 0xffffffff
    inet6 fe80::aede:48ff:fe00:1122%utun2 prefixlen 64 scopeid 0x11
    inet6 fc00:af6d:6058:7873:9685:4033:8217:541 prefixlen 64
    nd6 options=201<PERFORMNUD,DAD>

I know it will allow connecting to 10.14.0.0/16 space.

How do you find out all of the subnets that are on the other side of the VPN tunnel?


Solution 1:

You can never tell what is on the other side of a tunnel. You may get routing from the VPN server or set it otherwise, but you never know if it is complete or even if it is correct. You cannot even be sure what the other end is in fact. The only way to know that is by inspecting the server (and the connection).

Related:

  • What is “push route” used for in OpenVPN? on superuser.