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



  • :'(
    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.



  • 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



  • @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.


Locked