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

IpSec: remote subnet field non existing

Scheduled Pinned Locked Moved General pfSense Questions
11 Posts 2 Posters 1.4k 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.
  • A
    aagaag
    last edited by Aug 13, 2016, 8:31 AM

    I have created an IKEv2 VPN, and I can get authentication from a win10 client without problems. However, I cannot access any hosts on the LAN, and the subnet of the client tells me 255.255.255.255 whereas it should be 255.255.0.0.

    The PfSense manual says (in the phase-2 chapter) that I should set the remote subnet: "Remote Network: This defines which subnet or host to be accessed on the other end of the tunnel. As mentioned in the previous item, it is paramount that this is set this exactly like the other end's "local subnet" section. If not, phase 2 of the VPN connection will fail and traffic will not pass from one VPN segment to the other".

    However, I do not seem to have any such option ("remote network") in my Phase 2 config page. What might be the problem?

    1 Reply Last reply Reply Quote 0
    • D
      Derelict LAYER 8 Netgate
      last edited by Aug 13, 2016, 8:46 AM

      Are you unable to access the server side LAN from the remote access client or are you trying to access a LAN on the remote access client side?

      he PfSense manual says (in the phase-2 chapter) that I should set the remote subnet: "Remote Network: This defines which subnet or host to be accessed on the other end of the tunnel.

      That is for site-to-site VPNs, not Remote Access VPNs.

      Chattanooga, Tennessee, USA
      A comprehensive network diagram is worth 10,000 words and 15 conference calls.
      DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
      Do Not Chat For Help! NO_WAN_EGRESS(TM)

      1 Reply Last reply Reply Quote 0
      • A
        aagaag
        last edited by Aug 13, 2016, 8:50 AM

        Thank you for your immediate help! I am simply trying to access the LAN from an external remote client.

        1 Reply Last reply Reply Quote 0
        • D
          Derelict LAYER 8 Netgate
          last edited by Aug 13, 2016, 8:52 AM

          That is the local subnet in your mobile client phase 2. It is local from the perspective of the server you are configuring.

          Check the rules on your Firewall > Rules, IPsec tab.

          Chattanooga, Tennessee, USA
          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
          Do Not Chat For Help! NO_WAN_EGRESS(TM)

          1 Reply Last reply Reply Quote 0
          • A
            aagaag
            last edited by Aug 13, 2016, 8:57 AM

            On IpSec Rules I have one single rule: Pass on any to any with any protocol.

            1 Reply Last reply Reply Quote 0
            • A
              aagaag
              last edited by Aug 13, 2016, 9:08 AM

              I am not sure whether this means anything, but the log contains lots of messages such as:

              08[IKE] <con1|5>received message ID 129, expected 130\. Ignored</con1|5> 
              

              ![Screenshot 2015-06-01 18.30.30.png_thumb](/public/imported_attachments/1/Screenshot 2015-06-01 18.30.30.png_thumb)
              ![Screenshot 2015-06-01 18.30.30.png](/public/imported_attachments/1/Screenshot 2015-06-01 18.30.30.png)

              1 Reply Last reply Reply Quote 0
              • A
                aagaag
                last edited by Aug 13, 2016, 9:23 AM

                In the client config, I set 10.10.14.1/16 which should result in a subnet of 255.0.0.0. However, the windows IKE client adapter says that the subnet is 255.255.255.255. My conclusion is that the remote client is on a wrong subnet, and therefore cannot see the hosts on the LAN. How can I fix that?

                1 Reply Last reply Reply Quote 0
                • D
                  Derelict LAYER 8 Netgate
                  last edited by Aug 13, 2016, 5:33 PM

                  @aagaag:

                  In the client config, I set 10.10.14.1/16 which should result in a subnet of 255.0.0.0. However, the windows IKE client adapter says that the subnet is 255.255.255.255. My conclusion is that the remote client is on a wrong subnet, and therefore cannot see the hosts on the LAN. How can I fix that?

                  Actually, /16 is 255.255.0.0, not 255.0.0.0. And that just determines the pool size. Clients get a /32. It's not a broadcast link. It's more like point-to-point.

                  You are going to have to post far more information for anyone to be able to help you figure out what you did wrong. Like, for instance, what is your LAN subnet?

                  Chattanooga, Tennessee, USA
                  A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                  DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                  Do Not Chat For Help! NO_WAN_EGRESS(TM)

                  1 Reply Last reply Reply Quote 0
                  • A
                    aagaag
                    last edited by Aug 13, 2016, 5:57 PM

                    dear "derelict", thank you so much for helping me here. I am a medical doctor by training, and I am supposedly good at what I do - but networking is definitively way off my comfort zone. Hence I am very appreciative!

                    I have a Windows Server at IP (static) 10.10.10.2 running a DHCP and a DNS server (also 10.10.10.2 of course). The PfSense is running on a Hyper-V VM with address 10.10.10.1. The WAN side is dynamic. I am including a screenshot of the server adapter details as they are detected by windows.

                    ![Screenshot 2016-08-13 19.55.45.png_thumb](/public/imported_attachments/1/Screenshot 2016-08-13 19.55.45.png_thumb)
                    ![Screenshot 2016-08-13 19.55.45.png](/public/imported_attachments/1/Screenshot 2016-08-13 19.55.45.png)

                    1 Reply Last reply Reply Quote 0
                    • A
                      aagaag
                      last edited by Aug 13, 2016, 6:11 PM

                      and here are screenshots from my PfSense config:

                      ![Screenshot 2016-08-13 20.05.58.png_thumb](/public/imported_attachments/1/Screenshot 2016-08-13 20.05.58.png_thumb)
                      ![Screenshot 2016-08-13 20.05.58.png](/public/imported_attachments/1/Screenshot 2016-08-13 20.05.58.png)
                      ![Screenshot 2016-08-13 20.09.33.png_thumb](/public/imported_attachments/1/Screenshot 2016-08-13 20.09.33.png_thumb)
                      ![Screenshot 2016-08-13 20.09.33.png](/public/imported_attachments/1/Screenshot 2016-08-13 20.09.33.png)

                      1 Reply Last reply Reply Quote 0
                      • D
                        Derelict LAYER 8 Netgate
                        last edited by Aug 13, 2016, 6:24 PM

                        What is the subnet mask on your LAN?

                        My first suggestion is to change the subnet mask on your IPsec mobile Virtual Address Pool to /24 but that really depends on the subnet of your LAN as to whether that will actually fix it.

                        You could just change the Virtual Address Pool to something like 172.19.241.0/24 and probably fix it, regardless.

                        Chattanooga, Tennessee, USA
                        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                        Do Not Chat For Help! NO_WAN_EGRESS(TM)

                        1 Reply Last reply Reply Quote 0
                        1 out of 11
                        • First post
                          1/11
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                          This community forum collects and processes your personal information.
                          consent.not_received