OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • IPsec wrong subnet mask and no gateway provided
« previous next »
  • Print
Pages: [1]

Author Topic: IPsec wrong subnet mask and no gateway provided  (Read 1978 times)

payback007

  • Newbie
  • *
  • Posts: 20
  • Karma: 1
    • View Profile
IPsec wrong subnet mask and no gateway provided
« 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?
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6332
  • Karma: 435
    • View Profile
Re: IPsec wrong subnet mask and no gateway provided
« Reply #1 on: January 27, 2019, 04:16:23 pm »
In Mobile IPSec is your network defined with /24?
Logged
Twitter: mimu_muc
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

payback007

  • Newbie
  • *
  • Posts: 20
  • Karma: 1
    • View Profile
Re: IPsec wrong subnet mask and no gateway provided
« Reply #2 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.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • IPsec wrong subnet mask and no gateway provided
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2