Turnkey Linux OpenVPN not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • beninchurchil
    Junior Member
    • May 2024
    • 3

    Turnkey Linux OpenVPN not working

    Hi
    I'm fairly new to OpenVPN or even to VPN for that matter, I download Turnkey OpenVPN linux and setup as instructions, but when I connect from any client its says timed out. I'm posting below the details can you help me out ?

    OpenVPN IP 192.168.0.102
    Network: 192.168.0.0/24
    Port 1194 (Already forwarded on the firewall)

    Server.conf

    port 1194
    proto udp
    dev tun

    keepalive 10 120

    persist-key
    persist-tun
    user nobody
    group nogroup

    Client ovpn file

    client
    remote xx.xxx.xxx.xx 1194
    proto udp
    remote-cert-tls server


    cipher AES-256-CBC
    auth SHA256

    tls-client
    dev tun
    resolv-retry infinite
    keepalive 10 120
    nobind
    verb 3

    Error messages log on OpenVPN Client running on Windows 10 while connecting
    [May 2, 2024, 12:27:45] Connecting to [xx.xxx.xxx.xx]:1194 (xx.xxx.xxx.xx) via UDP
    ⏎[May 2, 2024, 12:27:55] Server poll timeout, trying next remote entry...
    ⏎[May 2, 2024, 12:27:55] EVENT: RECONNECTING ⏎[May 2, 2024, 12:27:55] EVENT: RESOLVE ⏎[May 2, 2024, 12:27:55] Contacting xx.xxx.xxx.xx:1194 via UDP
    ⏎[May 2, 2024, 12:27:55] EVENT: WAIT ⏎[May 2, 2024, 12:27:55] WinCommandAgent: transmitting bypass route to xx.xxx.xxx.xx
    {
    "host" : "xx.xxx.xxx.xx",
    "ipv6" : false
    }

    ⏎[May 2, 2024, 12:27:55] Connecting to [xx.xxx.xxx.xx]:1194 (xx.xxx.xxx.xx) via UDP
    ⏎[May 2, 2024, 12:28:05] EVENT: CONNECTION_TIMEOUT BYTES_OUT : 3240
    PACKETS_OUT : 60
    CONNECTION_TIMEOUT : 1
    N_RECONNECT : 5
    ⏎[May 2, 2024, 12:28:05] EVENT: DISCONNECTED ⏎
    zz0.i8gnnjhzs7izz


    Can you guys help me out here ?​
  • beninchurchil
    Junior Member
    • May 2024
    • 3

    #2
    Any ideas ?

    Comment

    • Pippin
      Administrator
      • Dec 2023
      • 19

      #3
      Hi,

      Code:
      Server poll timeout, trying next remote entry
      It looks like the Windows client cannot reach the server.
      The server log with --verb 4 can reveal if this is the case. How this is done on Turnkey Linux I don't know.

      See,
      Code:
      --log file
      --verb n
      in manual 2.6: https://build.openvpn.net/man/openvp...openvpn.8.html

      Also take note of this, AvoidRoutingConflicts

      Comment

      • beninchurchil
        Junior Member
        • May 2024
        • 3

        #4
        Hi Pippin,

        As you said I took log file using
        Code:
         journalctl --output verbose > logs.txt
        it generated a 194MB txt what specific should I look for in it ?

        Comment

        Working...
        😀
        😂
        🥰
        😘
        🤢
        😎
        😞
        😡
        👍
        👎