OPNsense Forum

Archive => 18.7 Legacy Series => Topic started by: payback007 on January 27, 2019, 04:11:26 pm

Title: IPsec wrong subnet mask and no gateway provided
Post by: payback007 on January 27, 2019, 04:11:26 pm
Dear all,

I implemented a working IPsec VPN road warrior connection with IP-range 10.0.0.0/24 and DNS of local LAN 192.168.1.1 is provided for DNS.

After connection is established, I got following conditions:
IP: 10.0.0.1
subnet: 255.255.255.255
DNS: 192.168.1.1
gateway: empty

For my understanding subnet 255.255.255.0 should be provided as defined. I already checked ipsec.conf, net definition 10.0.0.0/24 is within ipsec.conf.
If I check "static routes", also 10.0.0.1 is linked with the actual WAN-gateway. Internal IP and network is reachable, but no internet connection from mobile IPsec through VPN is possible.

What I'm doing wrong?
Title: Re: IPsec wrong subnet mask and no gateway provided
Post by: mimugmail on January 27, 2019, 04:16:23 pm
In Mobile IPSec is your network defined with /24?
Title: Re: IPsec wrong subnet mask and no gateway provided
Post by: payback007 on January 27, 2019, 04:20:33 pm
yes, mobile IPsec is defined as 10.0.0.0/24

That's why I don't understand to get wrong subnet mask.