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

    IPSEC - Packets do not enter tunnel

    Scheduled Pinned Locked Moved IPsec
    6 Posts 2 Posters 704 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.
    • M
      manzanoso
      last edited by

      I have PFSense working successfully, but I'm having problems with Ipsec VPN. The VPN successfully connects phase 1 and phase 2 but data is not sent through the tunnel. The packages go straight through the internet and do not enter the tunnel. My local network connects to PFSense through a switch managed by a vlan. In the example below when I try to send a packet to the ip 192.168.5.135 it goes through the wan link and does not enter the ipsec. Has anyone ever experienced this?

      Untitled Diagram.drawio.png

      Thanks
      Fernando

      M 1 Reply Last reply Reply Quote 0
      • M
        michmoor LAYER 8 Rebel Alliance @manzanoso
        last edited by

        @manzanoso said in IPSEC - Packets do not enter tunnel:

        end a packet to the ip 192.168.5.135 it go

        1. Do you have a static route for 192.168.5.132/32 going out the VPN?
        2. Do you have firewall rules permitting traffic

        https://docs.netgate.com/pfsense/en/latest/recipes/ipsec-s2s-psk.html

        Firewall: NetGate,Palo Alto-VM,Juniper SRX
        Routing: Juniper, Arista, Cisco
        Switching: Juniper, Arista, Cisco
        Wireless: Unifi, Aruba IAP
        JNCIP,CCNP Enterprise

        M 2 Replies Last reply Reply Quote 0
        • M
          manzanoso @michmoor
          last edited by

          @michmoor said in IPSEC - Packets do not enter tunnel:

          Do you have a static route for 192.168.5.132/32 going out the VPN?
          No
          Do you have firewall rules permitting traffic
          Only the patterns

          1 Reply Last reply Reply Quote 0
          • M
            manzanoso @michmoor
            last edited by

            @michmoor said in IPSEC - Packets do not enter tunnel:

            end a packet to the ip 192.168.5.135 it go

            Do you have a static route for 192.168.5.132/32 going out the VPN?
            Do you have firewall rules permitting traffic

            Would it be on the IPSEC interface? From local 192.168.150 and 172.23?

            M 1 Reply Last reply Reply Quote 0
            • M
              michmoor LAYER 8 Rebel Alliance @manzanoso
              last edited by

              @manzanoso correction you dont need a static route per se.
              what is the status of the tunnel? Status > IPsec

              Firewall: NetGate,Palo Alto-VM,Juniper SRX
              Routing: Juniper, Arista, Cisco
              Switching: Juniper, Arista, Cisco
              Wireless: Unifi, Aruba IAP
              JNCIP,CCNP Enterprise

              M 1 Reply Last reply Reply Quote 0
              • M
                manzanoso @michmoor
                last edited by

                @michmoor said in IPSEC - Packets do not enter tunnel:

                @manzanoso correction you dont need a static route per se.
                what is the status of the tunnel? Status > IPsec
                1864035e-d178-4cef-844d-ccf752656278-image.png

                What I could identify is that when the notebook is on the 192.168.150 network, I can transfer packets on the VPN, however, when the notebook is on the 172.23.0 network it does not work. I'm using a nat for output which is what is needed for the other end of the VPN.

                06400ac3-3060-49a2-a600-a536a339d54c-image.png

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