Quick $10 to whoever and fix and configure my OpenVPN setup

Discussion in 'Programming' started by raidz, Apr 3, 2009.

  1. #1
    Hello, I have a vps running centos. I have openvpn setup but get this error:

    Fri Apr 03 11:34:16 2009 LZO compression initialized
    Fri Apr 03 11:34:16 2009 Control Channel MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
    Fri Apr 03 11:34:16 2009 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
    Fri Apr 03 11:34:16 2009 Local Options hash (VER=V4): '41690919'
    Fri Apr 03 11:34:16 2009 Expected Remote Options hash (VER=V4): '530fdded'
    Fri Apr 03 11:34:16 2009 UDPv4 link local: [undef]
    Fri Apr 03 11:34:16 2009 UDPv4 link remote: XX.XX.XX.XX.XX:1XXX
    Fri Apr 03 11:35:16 2009 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
    Fri Apr 03 11:35:16 2009 TLS Error: TLS handshake failed
    Fri Apr 03 11:35:16 2009 TCP/UDP: Closing socket
    Fri Apr 03 11:35:16 2009 SIGUSR1[soft,tls-error] received, process restarting
    Fri Apr 03 11:35:16 2009 Restart pause, 2 second(s)

    Please message me through pm or im me on Yahoo Messenger: raidz101
     
    raidz, Apr 3, 2009 IP
  2. kmap

    kmap Well-Known Member

    Messages:
    2,215
    Likes Received:
    29
    Best Answers:
    2
    Trophy Points:
    135
    As Seller:
    100% - 0
    As Buyer:
    100% - 1
    #2
    hi

    Make sure the client is using the correct hostname/IP address and port number which will allow it to reach the OpenVPN server.
    If the OpenVPN server machine is a single-NIC box inside a protected LAN, make sure you are using a correct port forward rule on the server's gateway firewall. For example, suppose your OpenVPN box is at 192.168.4.4 inside the firewall, listening for client connections on UDP port 1194. The NAT gateway servicing the 192.168.4.x subnet should have a port forward rule that says forward UDP port 1194 from my public IP address to 192.168.4.4.
    Open up the server's firewall to allow incoming connections to UDP port 1194 (or whatever TCP/UDP port you have configured in the server config file)

    try this

    Regards

    Alex
     
    kmap, Apr 3, 2009 IP