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

    OpenVPN executable

    OpenVPN
    3
    4
    3.2k
    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.
    • H
      Helix26404
      last edited by

      In the pfSense distribution, where are the OpenVPN files stored (the config files, the actual executable program, etc.)? I have to make some changes to allow machines on the server-side to access machines on the client-side on the VPN, and I've looked but I can't seem to find the files.

      Thanks.

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        The files are beeing rebuilt every time you restart your server.
        But there is the field "custom options" in which you can add whatever you want to add to your config.

        to add several different lines you have to sparate them with a ";"
        i.e: push "redirect-gateway def1";push "dhcp-option DNS 172.17.103.1";push "dhcp-option DNS 172.17.103.2"

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

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

          Thanks for the info.

          I'm trying to get the server-side LAN to be able to access the client-side LAN, and to do that, I have to create a folder in the OpenVPN root directory named with my client's certificate common name with a file that instructs OpenVPN to route requests for a certain subnet to that specific client.

          It's documented here: http://openvpn.net/howto.html#scope under "Including multiple machines on the client side when using a routed VPN (dev tun)"

          I just don't know where OpenVPN in pfSense lives.

          1 Reply Last reply Reply Quote 0
          • N
            Numbski
            last edited by

            at the terminal, type:

            which openvpn

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