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

    OpenVPN broken: -proto tcp ambiguous

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 2 Posters 792 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.
    • C
      catonic
      last edited by catonic

      pfSense as OpenVPN client, from the systems log:

      Options error: --proto tcp is ambiguous in this context. Please specify --proto tcp-server or --proto tcp-client

      I set it for: TCP on IPv4 only

      In other environments, I've used such arguments as:

      proto tcp-server
      proto tcp4-server
      proto tcp6-server
      proto udp4
      proto udp4-server
      proto udp6

      Current Base System
      2.4.5_1
      Latest Base System
      2.4.5_1
      Status
      Up to date.

      # strings openvpn | grep "udp"
      OPTIONS IMPORT: --explicit-exit-notify can only be used with --proto udp
      mudp.c
      udp-mtu
      --mtu-test only makes sense with --proto udp
      --fragment can only be used with --proto udp
      --mode server currently only supports --proto udp or --proto tcp-server or proto tcp6-server
      --mode server currently only supports --proto udp or --proto tcp-server or --proto tcp6-server
      --connect-freq only works with --mode server --proto udp.  Try --max-clients instead.
                        p = udp (default), tcp-server, or tcp-client
                        p = udp6, tcp6-server, or tcp6-client (ipv6)
      udp4
      udp6
      1 Reply Last reply Reply Quote 0
      • RicoR
        Rico LAYER 8 Rebel Alliance
        last edited by

        https://redmine.pfsense.org/issues/10650

        -Rico

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