Difference between revisions of "OpenVPN troubleshooting"

From Amahi Wiki
Jump to: navigation, search
Line 7: Line 7:
  
  
== Moving to tcp By: dizzy1 ==
+
== Moving to TCP ==
  
If udp is not working because of shitty isps (see list below). Also you will have to change the port forward to tcp or tcp and udp instead of udp. Edit these two files:
+
If UDP is not working because of shitty ISPs (see list below). Also you will have to change the port forward to tcp or tcp and udp instead of udp. Edit these two files:
  
Client side: (Windows)
+
== Client side: (Windows) ==
  
- C:\Program Files (x86)\HDAConnect\config\HomeHDA.opvn
+
  C:\Program Files (x86)\HDAConnect\config\HomeHDA.opvn
  
 
Right click the red A, click edit settings.
 
Right click the red A, click edit settings.
If you have a thing saying "HomeHDA > " then mouse over and click edit settings.
+
If you have a thing saying "HomeHDA > " then mouse over and click edit settings. Change "proto udp" to "proto tcp".
  
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.
  
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
  
"remote add_your_ip_here"
+
== On the Server side ==
  
HDA side:
+
Edit this file:
  
/etc/openvpn/amahi.conf
+
    /etc/openvpn/amahi.conf
  
 
change "proto udp" to "proto tcp"
 
change "proto udp" to "proto tcp"
Line 33: Line 33:
 
And add your isp below.
 
And add your isp below.
  
List of bad isps:
+
== List of bad ISPs ==
 +
 
 +
Please add your isp if you need this work-around:
  
-Bell Canada
+
* Bell Canada
-please add your isp if you need this.
 

Revision as of 06:02, 16 March 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 shitty ISPs (see list below). Also you will have to change the port forward to tcp or tcp and udp instead of udp. Edit these two files:

Client side: (Windows)

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

Right click the red A, click edit settings. If you have a thing saying "HomeHDA > " then mouse over 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

On the Server side

Edit this file:

   /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