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

    Expected peer address: xx.xx.xxx.xx:1194 Error

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 13.4k 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.
    • M
      marcusman
      last edited by

      :'(
      Hello complete Newbie here.   
      I think I've setup OpenVPN correctly on my mac, but I'm not sure.   I've ready multiple configuration guides and I'm pretty much following what others have done before me.

      I'm getting this message and I'm stumped.
      expected peer address: xx.xx.xxx.xx:1194 (allow this incoming source address/port by removing –remote or adding --float)

      However in my client file "openvpn.conf" if I replace the remote section with this  "remote 192.168.1.1 1194"   I get connected so I think I have my certs setup correctly.

      Here is my client file:
      client
      dev tun
      proto udp
      remote xxx.xxx.x.x 1194;
      ping 10
      resolv-retry infinite
      nobind
      persist-key
      persist-tun
      ca ca.crt
      cert xxx.crt
      key xxx.key
      ns-cert-type server
      comp-lzo
      verb 3
      pull

      Any help is most appreciated.

      1 Reply Last reply Reply Quote 0
      • AhnHELA
        AhnHEL
        last edited by

        Take out "client" in the top of your config and replace it with "float"

        float
        dev tun
        proto udp
        remote xxx.xxx.x.x 1194;
        ping 10
        resolv-retry infinite
        nobind
        persist-key
        persist-tun
        ca ca.crt
        cert xxx.crt
        key xxx.key
        ns-cert-type server
        comp-lzo
        verb 3
        pull

        AhnHEL (Angel)

        1 Reply Last reply Reply Quote 0
        • M
          marcusman
          last edited by

          @onhel:

          Take out "client" in the top of your config and replace it with "float"

          float
          dev tun
          proto udp
          remote xxx.xxx.x.x 1194;
          ping 10
          resolv-retry infinite
          nobind
          persist-key
          persist-tun
          ca ca.crt
          cert xxx.crt
          key xxx.key
          ns-cert-type server
          comp-lzo
          verb 3
          pull

          Thanks!  It worked.

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