Difference between revisions of "OpenVPN troubleshooting"

From Amahi Wiki
Jump to: navigation, search
Line 10: Line 10:
  
 
If UDP is not working because of a shitty ISP (see list below). Then you will have to change from tcp to udp and change your port forwarding of 1194/udp to 1194/tcp.
 
If UDP is not working because of a shitty ISP (see list below). Then you will have to change from tcp to udp and change your port forwarding of 1194/udp to 1194/tcp.
 +
 +
----
 +
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 +
----
 +
>=[http://igolivonu.co.cc Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page]=
 +
----
  
 
----
 
----
Line 16: Line 22:
 
=[http://igolivonu.co.cc Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page]=
 
=[http://igolivonu.co.cc Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page]=
 
----
 
----
 +
=[http://igolivonu.co.cc CLICK HERE]=
 +
----
 +
</div>
 +
 
=[http://igolivonu.co.cc CLICK HERE]=
 
=[http://igolivonu.co.cc CLICK HERE]=
 
----
 
----

Revision as of 22:01, 17 November 2010

Typical problems with the VPN:

  • You cannot VPN into your network from your very own network (kinda duh)
  • You cannot login two users simultaneously
  • You cannot login to your network from another network with the exact same settings. You can probably reach your own HDA, but not other systems in the network, due to routing (the HDA has direct connection via the VPN tunnel).
  • Check that you have port forwarded 1194 udp.


>== Moving to TCP ==

If UDP is not working because of a shitty ISP (see list below). Then you will have to change from tcp to udp and change your port forwarding of 1194/udp to 1194/tcp.


Client side: (Windows)

Right click the red A, click edit settings. If you have a thing saying "HomeHDA > " then mouse over it and click edit settings. Change:

    proto udp

to

    proto tcp

If for some reason the DDNS (yourhda.com) is not working but your control panel is updating, the add this line at the top of the config file.

      remote YOUR_IP_HERE

Note: If you have a dynamic ip, then you will probably need to update this everyday. If you have a static ip then you are fine.

Manually (Windows)

Edit this file manually or use:

Seven x64

  C:\Program Files (x86)\HDAConnect\config\HomeHDA.opvn

Seven x86 or 32 bit (Also most other Windows versions)

  C:\Program Files\HDAConnect\config\HomeHDA.opvn

Run notepad as admin and open the above file.

Client Side (Linux/Mac)

Similarly, locate the configuration file and change

   proto udp

to

   proto tcp

On the Server side

Edit this file:

   /etc/openvpn/amahi.conf

Command:

   sudo gedit /etc/openvpn/amahi.conf

or

   sudo nano -w /etc/openvpn/amahi.conf

change "proto udp" to "proto tcp"

Restart both sides and you are now using openvpn over tcp. And add your isp below.

List of bad ISPs

Please add your isp if you need this work-around:

  • Bell Canada

Client reports "TLS handshake failed" & does not connect

This is usually caused by packet corruption that may happen for some users.
Follow the tutorial on "Prevent_SSL_Handshake_Timeouts_In_OpenVPN" page to fix this.