I changed the VPN IP network to
192.168.11.0/255.255.255.0
192.168.11.1 is the Gaetway

My home LAN is of course unchanged: 10.10.10.0/255.255.255.0, 10.10.10.100 gateway.

I push to VPN client the following routes:

1) 10.10.10.0/255.255.255.0/192.168.11.1
2) 0.0.0.0/0.0.0.0/192.168.11.1

iPhone routing Table looks like this.

VPN-Change1
Code:
Pv4:
Destination    		Gateway     	Interface   	Flags
default 		link#26 	ppp0 		UCS
default 		10.130.201.159 	pdp_ip0 	UGScI
default 		link#21 	ipsec1 		UCSI
1.0.0.1 		192.168.11.100 	ppp0 		UH
8.8.4.4 		link#26 	ppp0 		UHW3I
10.10.10.3 		link#26 	ppp0 		UHWIi
10.130.201.159 		10.130.201.159 	pdp_ip0 	UHr
10.130.201.159/32 	link#5 		pdp_ip0 	UCS
10.254.254.254 		10.254.254.254 	ipsec1 		UH
31.13.66.51 		link#26 	ppp0 		UHW3I
127 			127.0.0.1 	lo0 		UCS
127.0.0.1 		127.0.0.1 	lo0 		UH
149.154.167.91 		link#26 	ppp0 		UHW3I
157.240.14.53 		link#26 	ppp0 		UHW3I
157.240.22.54 		link#26 	ppp0 		UHWIi
192.168.11 		ppp0 		ppp0 		USc
217.133.42.94 		10.130.201.159 	pdp_ip0 	UGHS
224.0.0/4 		link#26 	ppp0 		UmCS
224.0.0/4 		link#5 		pdp_ip0 	UmCSI
224.0.0/4 		link#21 	ipsec1 		UmCSI
255.255.255.255/32 	link#26 	ppp0 		UCS
255.255.255.255/32 	link#5 		pdp_ip0 	UCSI
255.255.255.255/32 	link#21 	ipsec1 		UCSI


The two routes I push are not there, as far as I can see.

If I don't push the second one, the iPhone simply does not know how to get to the internet. I also noticed it is significantly slower in reaching what it does eventually reach inside my LAN, as if the first route I push was not there.

So, essentially, no change.

Also, I am guessing that the fact that my ISP is assigning me 10.x.x.x.x address and my home LAN is also 10.x.x.x.x is causing some confusion for the iPhone.


Edited by Taym (05/01/2020 18:04)
_________________________
= Taym =
MK2a #040103216 * 100Gb *All/Colors* Radio * 3.0a11 * Hijack = taympeg