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

    OpenVPN Issue

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    4 Posts 2 Posters 1.6k Views
    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.
    • L
      lucky
      last edited by

      Hi all,

      I tried making a config change and encountered a problem. OpenVPN will not start and the system log shows:

      openvpn[36052]: Options error: –client-connect requires --mode server

      What I did was change the server mode from "Remote Access SSL/TLS" to "Remote Access SSL/TLS + User Auth". Interestingly, I am running two instances of OpenVPN, one in TUN device mode and one TAP. The TUN mode instance doesn't have this problem.

      Devs, let me know if I can provide anything that helps troubleshoot.

      Possibly related: http://forum.pfsense.org/index.php/topic,50195.0.html ?

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        What size tunnel network do you have set? Looks like what can happen if you set the subnet too small, it should be, for example, a /24, and not a /30.

        We'd need to see screenshots, or a transcription of, all of the settings on the page to say anything for certain.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • L
          lucky
          last edited by

          Screen shots attached.

          ovpn_1.png
          ovpn_1.png_thumb
          ovpn_2.png
          ovpn_2.png_thumb
          ovpn_3.png
          ovpn_3.png_thumb

          1 Reply Last reply Reply Quote 0
          • L
            lucky
            last edited by

            Oh, also, I created a bridge for OPT2 (should be the OpenVPN TAP interface) to a physical network interface in the firewall that I want that vpn instance to put vpn clients on.

            Again - this all works fine when the mode is "Remote Access (SSL/TLS)".

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