Navigation

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

    OpenVPN Network Check

    OpenVPN
    2
    2
    226
    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.
    • C
      centuryx476 last edited by

      Hello,
      I did not like having the user having to always sign into OpenVPN manually. So I made OpenVPN run as a service and that solved that problem.
      But what happens is they come inside the internal network and then OpenVPN runs on its own and tries to connect to itself( NetworkCeption)

      I wrote a small C# program that first determines what network it is on. If it locates a Authorized Domain Controller it does not launch OpenVPN but if it does not locate a Authorized Domain Controller it then launches OpenVPN as that means it is outside the internal network.

      My question is has anyone figured out another way to accomplish the same goal ?
      Looking for improvements

      Let me know

      Thank You

      1 Reply Last reply Reply Quote 0
      • T
        TurboAAA last edited by

        That's essentially what I did with some Linux laptops I had to issue at my last job. Ran a job that would check for something that should be there, if not then load openvpn. Sound logic.

        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