IPSEC connected but cannot ping remote network.

  • Hi all, I have 2 pfsense boxes both running the latest version. I have configured IPSEC on both boxes and they seem to connect OK:

    INFO: IPsec-SA established: ESP/Tunnel…

    The problem is once connected I try to ping (or open a RDP connection) to the remote network and the connection fails (fails in both directions). Subnet at one end is and the other end is At one stage ping was working for a few minutes but then stopped again. In my logs I am not getting any errors only a warning:

    WARNING: setsockopt(UDP_ENCAP_ESPINUDP_NON_IKE): Invalid argument

    any ideas on resolving this issue?



  • Known issue with Racoon.  We are waiting for the new version to be released.

    Not sure of their release timeframe.

  • Is Racoon to blame for the warning as well as me not being able to communicate between the two subnets connected by the IPSEC? I have seen some people in the forums which have IPsec working OK?


  • Not sure of the specifics.  IPSEC works fine for me as well, but there is something that triggers the bug.

  • OK, thanks for your help Sullrich. Guess I will just use PPTP for now.


  • Personally I would give OpenVPN a try over PPTP.

Log in to reply