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

    Ethernet detached event for wan after OpenVPN P2P client enabled

    General pfSense Questions
    2
    2
    359
    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
      mikasaari
      last edited by

      Hi,

      I am running 22.01 firmware on Netgate XG-7100. When running PFSense OpenVPN Peer to Peer client disabled, the system seems to be working nicely. But when I enable the OpenVPN Client in Peer to Peer mode, the VPN comes up, and other end is able to connect to the client side nicely. But the WAN starts to get "Ethernet detached event for wan" and 2 seconds later "Ethernet attached event for wan". OpenVPN gets error and stays disabled until it is enabled. After OpenVPN client enable (Status -> OpenVPN -> Start button) the VPN sticks up a while until WAN goes down again.

      I can not be 100% sure the OpenVPN is causing this, but I have been testing the connection without OpenVPN quite a long time without WAN going down. And when the OpenVPN client is enabled there is about 3-5minutes time before the WAN looses connection.

      The WAN is getting its IP from DHCP currently.

      Router and Cable where the Netgate is connected, shouldn't have problems. Surely everything is possible event those have been tested with other equipment.

      Any tips what could cause this kind of behaviour are appreciated.

      Thank you very much for ideas,
      -Mika

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by stephenw10

        Pretty much the only thing that can cause a link even like that, other than it actually losing link, is if you are running Snort or Suricata in in-link mode and it restarts. Is that possible?
        A gateway event on the OpenVPN tunnel could be triggering that restart. Do you have the OpenVPN tunnel interface assigned?

        Steve

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