Navigation

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

    After internet access openVPN crashs

    OpenVPN
    2
    5
    633
    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.
    • G
      goose86m last edited by

      Hello,

      i use my pfSense in version 2.2.6 as a virtual appliance behind a AVM Fritz Box. The pfSense is configured as a openVPN Client against a openVPN Server.
      Everytime the fritzbox does a internet reconnect, the openVPN client looses the vpn connection and does not reconnect. The tunnel is marked as down.
      Now, i think i know why, because the pfSense has no internet connection. If i try a ping through the diagnostic gui to 8.8.8.8 i got packet loss.

      After i restart the openVPN services, the pfSense and openVPN is working fine.

      I configured the openVPN client as follows:

      protocoll: UDP
      Device :  tun
      interface: WAN

      and under advanced the following config:

      
      client;
      tun-mtu 1440;
      fragment 1400;
      mssfix;
      auth-retry interact;
      persist-key;
      ns-cert-type server;
      verb 0;
      auth-user-pass /conf/portunity.login;
      redirect-gateway;
      keepalive 10 60
      
      

      Has someone any ideas what i can do, so that the openVPN tunnel restarts automatically after the fritzbox has internet connection again?

      1 Reply Last reply Reply Quote 0
      • H
        heper last edited by

        You can try assigning an interface & enabling route-nopull

        You will need to create firewall rules to push traffic trough the vpn.

        Or you can try pfsense 2.3. It might behave differently, as the gateway monitoring has been replaced.

        1 Reply Last reply Reply Quote 0
        • G
          goose86m last edited by

          I created an interface. What do you mean with route nopull?

          I will only use the VPN for incoming traffic. So my default route is to my fritz box.

          1 Reply Last reply Reply Quote 0
          • H
            heper last edited by

            So its a site2site tunnel? You specified earlier its a tun client?

            1 Reply Last reply Reply Quote 0
            • G
              goose86m last edited by

              Its a tun client. But I can access ressources through my VPN tunnel from external.

              I set the pull-noroute option and also disable gateway monitoring of the VPN interface. But it doesn't changed anything.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              Products

              • Platform Overview
              • TNSR
              • pfSense
              • Appliances

              Services

              • Training
              • Professional Services

              Support

              • Subscription Plans
              • Contact Support
              • Product Lifecycle
              • Documentation

              News

              • Media Coverage
              • Press
              • Events

              Resources

              • Blog
              • FAQ
              • Find a Partner
              • Resource Library
              • Security Information

              Company

              • About Us
              • Careers
              • Partners
              • Contact Us
              • Legal
              Our Mission

              We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

              Subscribe to our Newsletter

              Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

              © 2021 Rubicon Communications, LLC | Privacy Policy