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

    I can't install IPsec

    IPsec
    2
    3
    729
    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.
    • E
      enesas
      last edited by

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

      https://www.zulfumehmet.com/pfsense-ile-l2tp-ipsec-vpn-server-olusturma/#comment-4616

      Although I tried many times according to this guide, I could not establish an ipsec vpn connection for the remote user.
      Note: There is no problem with the ports.
      What would be the reason?
      pfsense version: 2.6.0

      What would you recommend to me? I need to connect with PC, Android, MacOS.

      openvpn; It works well on pc and android. But there is a slowness in Macos that I don't know why. file transfer is very slow. So I want to try IPsec but I couldn't succeed.

      Thanks in advance for your help

      E 1 Reply Last reply Reply Quote 0
      • E
        enesas @enesas
        last edited by

        @enesas
        I finally got it through this tutorial. but now the problem is computer connects to local folders but i can't go to internet.
        I want: I can only connect to folders via vpn. Do not let internet traffic go through VPN.
        https://www.youtube.com/watch?v=TIqcNVsnLqk!

        My settings are like this.
        1.png

        I 1 Reply Last reply Reply Quote 0
        • I
          it2000 @enesas
          last edited by

          @enesas

          What you might miss is an outbound nat. When all traffic for a remote user is router over VPN, then you need to make sure that client's private IP is translated on the pfsense to the wan or alternative public IP, within Firewall NAT Outbound configuration.

          On client end routing table will confirm if all client traffic is routed over the VPN (Windows command "route print", or Linux "netstat -r")

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