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

    Create an IPSec tunnel between Windows Server and pfSense

    Scheduled Pinned Locked Moved IPsec
    ipsecwindows serverpfsense
    2 Posts 2 Posters 1.3k 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.
    • D
      dr_tech
      last edited by dr_tech

      I've been trying to create a tunnel between my office LAN and home LAN :

      Office Network :
      Windows Server 2019 (Directly connected to WAN, RDP Access) : ADDS/WAN/Web Server/ROUTER
      Office LAN : 10.0.0.0/16
      --> CentOS (running EMR/Accounting Software for my Clinic)
      --> Office Desktop
      --> Office NAS

      Home Network
      pfSense (connected directly to WAN)
      Home LAN : 10.1.0.0/16
      --> Windows Server 2019 (ADDS)
      --> Home NAS
      --> Home Computers

      I was able to successfully set up a site to site IPSec VPN between the two Windows Server by forwarding the ports on pfSense. But I want my entire office subnet to be accessible by any device behind my pfSense box at home.

      I created a similar tunnel between the pfSense box and the office Windows Server 2019 computer, and the tunnel comes up successfully when pfSense initiates it.

      However when I try to initiate the tunnel from Windows Server 2019, it shows an error : "Invalid Payload Received".

      What am I doing wrong ?

      Phase 1.png Phase 2.png Session.png

      Error on Windows Server : err.png
      (Logs just show connection failed with unknown error 22)

      (Apologies for any critical error, I'm a total noob.
      I am a junior doctor, having been quarantined for the COVID-19 Crisis, I need to access files from my office in order to create lecture slides).

      1 Reply Last reply Reply Quote 0
      • M
        m.shoaib
        last edited by

        I want to make tunneel between pfsense and vps,
        I have no idea how to do that.
        Kindly help

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