Score:0

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

cn flag

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?

Score:0
cn flag

Apparently viewing the routing tables will show all of the subnets for the interface.

$> netstat -r
10.14.1/24         link#17            UCS          utun2
10.14.2/24         link#17            UCS          utun2
10.14.10.10/32     link#17            UCS          utun2

Edit: For better specificity, according to @tomasz below, a VPN has to specifically provide the route to the connecting machine otherwise there will be no knowledge of the subnets on the other side of the tunnel.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.