Hi,
I set up an ipsec VPN via iked.
on the server :
distantnet="192.168.100.0/24"
ikev2 passive ipcomp esp \
from 192.168.0.0/24 to $distantnet \
from 192.168.1.0/24 to $distantnet \
from 192.168.2.0/24 to $distantnet \
from 192.168.4.0/24 to $distantnet \
from 192.168.10.0/24 to $distantnet \
from 192.168.20.0/24 to $distantnet \
from 192.168.21.0/24 to $distantnet \
from 192.168.24.0/24 to $distantnet \
peer any \
psk "my-preshared-key"
on my laptop :
ikev2 ipcomp esp \
from egress to 192.168.0.0/24 \
from egress to 192.168.1.0/24 \
from egress to 192.168.2.0/24 \
from egress to 192.168.4.0/24 \
from egress to 192.168.10.0/24 \
from egress to 192.168.20.0/24 \
from egress to 192.168.24.0/24 \
peer entrepriseexternalip \
psk "my-preshared-key"
The point is that the server has to know my home network (192.168.100.0/24).
How to make it works wherever my laptop is?
I tried with config address options but can't make it work.
Thanks by advance,
Sebastien