I'd like to understand vpns better. I have both the PPTP server and one OpenVPN server (set to TUN) running on my RT-AC68U. When I connect to my home network via these vpns using cellular data on my iPhone, I see differences. In a nutshell, with PPTP, it feels as if my iPhone is part of my home network; with Open VPN, it doesn't. I'd be very gratefull to understand why.
PPTP
The vpn iPhone address is 192.168.10.2 (255.255.255.0)
Default Gateway is N/A
DNS Server is 192.168.1.1
External IP is 92.xxx.xxx.56
With traceroute to say, the BBC, the first hop is to 192.168.1.1
FTP on my iPhone to the local address of a device on the home network brings up all its files as if I were back home, wirelessly connected to the network.
Also, if at home and my iPhone is wirelessly connected to my router, i can connect via the PPTP vpn.
OpenVPN
The vpn iPhone address is 10.8.0.8 (255.255.255.252)
Default Gateway is 10.149.86.1 (Cellular IP address)
DNS Server is 37.26.147.100
External IP is 92.xxx.xxx.56
With traceroute to say, the BBC, the first hop is to ?. Second hop to 10.192.192.25, and nowhere do I see a hop either to the internal IP or the external IP address of my router.
FTP on my iPhone to the local address of a device on the home network fails to connect.
Also, in contrast to PPTP, if I'm at home and my iPhone is wirelessly connected to my network, Openvpn won't connect to the network.
To someone who understands vpn technology, I'm sure the above is perfectly understandable and entirely expected. I'd really be grateful to know the reasons for the differences; a good tutorial would suffice, but, so far, I haven't found anything that helps.
Martin
PPTP
The vpn iPhone address is 192.168.10.2 (255.255.255.0)
Default Gateway is N/A
DNS Server is 192.168.1.1
External IP is 92.xxx.xxx.56
With traceroute to say, the BBC, the first hop is to 192.168.1.1
FTP on my iPhone to the local address of a device on the home network brings up all its files as if I were back home, wirelessly connected to the network.
Also, if at home and my iPhone is wirelessly connected to my router, i can connect via the PPTP vpn.
OpenVPN
The vpn iPhone address is 10.8.0.8 (255.255.255.252)
Default Gateway is 10.149.86.1 (Cellular IP address)
DNS Server is 37.26.147.100
External IP is 92.xxx.xxx.56
With traceroute to say, the BBC, the first hop is to ?. Second hop to 10.192.192.25, and nowhere do I see a hop either to the internal IP or the external IP address of my router.
FTP on my iPhone to the local address of a device on the home network fails to connect.
Also, in contrast to PPTP, if I'm at home and my iPhone is wirelessly connected to my network, Openvpn won't connect to the network.
To someone who understands vpn technology, I'm sure the above is perfectly understandable and entirely expected. I'd really be grateful to know the reasons for the differences; a good tutorial would suffice, but, so far, I haven't found anything that helps.
Martin
Last edited: