Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Mobile VPN routing to local network

    Scheduled Pinned Locked Moved IPsec
    1 Posts 1 Posters 284 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Z
      Zottelmann
      last edited by

      Hi there,

      I have a strange problem routing through a mobile IPsec VPN on the Pfsense. A connection with the firewall comes up without any further problems. I can connect to networks connected via site-to-site, but I can't connect to the local network running on the Pfsense.

      Attached is the log for the P2 tunnel, which also transmits the correct networks.
      Strangely enough, I can't get into the 172.31.0.0/20 network.

      Oct 20 12:36:59 pfSense-OO charon[87257]: 15[CFG] <con-mobile|4> selecting traffic selectors for us:
      Oct 20 12:36:59 pfSense-OO charon[87257]: 15[CFG] <con-mobile|4>  config: 0.0.0.0/0|/0, received: 0.0.0.0/0|/0 => match: 0.0.0.0/0|/0
      Oct 20 12:36:59 pfSense-OO charon[87257]: 15[CFG] <con-mobile|4>  config: 0.0.0.0/0|/0, received: ::/0|/0 => no match
      Oct 20 12:36:59 pfSense-OO charon[87257]: 15[CFG] <con-mobile|4>  config: 172.31.0.0/20|/0, received: 0.0.0.0/0|/0 => match: 172.31.0.0/20|/0
      Oct 20 12:36:59 pfSense-OO charon[87257]: 15[CFG] <con-mobile|4>  config: 172.31.0.0/20|/0, received: ::/0|/0 => no match
      Oct 20 12:36:59 pfSense-OO charon[87257]: 15[CFG] <con-mobile|4> selecting traffic selectors for other:
      Oct 20 12:36:59 pfSense-OO charon[87257]: 15[CFG] <con-mobile|4>  config: 172.31.5.1/32|/0, received: 0.0.0.0/0|/0 => match: 172.31.5.1/32|/0
      Oct 20 12:36:59 pfSense-OO charon[87257]: 15[CFG] <con-mobile|4>  config: 172.31.5.1/32|/0, received: ::/0|/0 => no match
      

      On the other hand, Windows only shows me the following routes:

      0.0.0.0       0.0.0.0           Auf Verbindung      172.31.5.254     26
      172.31.5.254  255.255.255.255   Auf Verbindung      172.31.5.254    281
      224.0.0.0     240.0.0.0         Auf Verbindung      172.31.5.254     26
      

      Does anyone here know what the problem could be? Thank you in advance.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.