<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.amahi.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Shayneb</id>
	<title>Amahi Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.amahi.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Shayneb"/>
	<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php/Special:Contributions/Shayneb"/>
	<updated>2026-04-12T14:42:13Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=OpenVPN_troubleshooting&amp;diff=38551</id>
		<title>OpenVPN troubleshooting</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=OpenVPN_troubleshooting&amp;diff=38551"/>
		<updated>2011-04-11T19:32:43Z</updated>

		<summary type="html">&lt;p&gt;Shayneb: edited change-your-port instructions&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Typical problems with the VPN:&lt;br /&gt;
&lt;br /&gt;
* You cannot VPN into your network from your very own network (kinda duh)&lt;br /&gt;
* You cannot login two users simultaneously&lt;br /&gt;
* 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).&lt;br /&gt;
* Check that you have port forwarded 1194 udp.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Moving to TCP ==&lt;br /&gt;
&lt;br /&gt;
If UDP is not working because of a shitty ISP (see list below). Then you will have to change from udp to tcp and change your port forwarding of 1194/udp to 1194/tcp.&lt;br /&gt;
&lt;br /&gt;
== Client side: (Windows) ==&lt;br /&gt;
&lt;br /&gt;
Right click the red A, click edit settings.&lt;br /&gt;
If you have a thing saying &amp;quot;HomeHDA &amp;gt; &amp;quot; then mouse over it and click edit settings. Change:&lt;br /&gt;
&lt;br /&gt;
     proto udp&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
     proto tcp&lt;br /&gt;
&lt;br /&gt;
== Blocked port 1194 ==&lt;br /&gt;
Sometimes port 1194 is blocked if you are behind a corporate firewall or someother firewall. The trick is then to use a port that is open. If you are not running https on your amahi, using port 443 is a good choice.&lt;br /&gt;
&lt;br /&gt;
You can move to port 443 by changing the line:&amp;lt;br&amp;gt;&lt;br /&gt;
port 1194&amp;lt;br&amp;gt;&lt;br /&gt;
into&amp;lt;br&amp;gt;&lt;br /&gt;
port 443&amp;lt;br&amp;gt;&lt;br /&gt;
in your /etc/openvpn/amahi.conf file.&lt;br /&gt;
&lt;br /&gt;
Of course you also need to tell the client side to use port 443!&lt;br /&gt;
Add the following line to your client's config file&lt;br /&gt;
&lt;br /&gt;
     remote &amp;lt;hda_username&amp;gt;.yourhda.com 443&lt;br /&gt;
&lt;br /&gt;
If for some reason the DDNS (yourhda.com) is not working but your control panel is updating, then add this line at the top of the config file.&lt;br /&gt;
&lt;br /&gt;
       remote YOUR_IP_HERE &amp;lt;port&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
== Manually (Windows) ==&lt;br /&gt;
&lt;br /&gt;
Edit this file manually or use:&lt;br /&gt;
&lt;br /&gt;
Seven x64&lt;br /&gt;
&lt;br /&gt;
   C:\Program Files (x86)\HDAConnect\config\HomeHDA.opvn&lt;br /&gt;
&lt;br /&gt;
Seven x86 or 32 bit (Also most other Windows versions)&lt;br /&gt;
&lt;br /&gt;
   C:\Program Files\HDAConnect\config\HomeHDA.opvn&lt;br /&gt;
&lt;br /&gt;
Run notepad as admin and open the above file.&lt;br /&gt;
&lt;br /&gt;
== Client Side (Linux/Mac) ==&lt;br /&gt;
&lt;br /&gt;
Similarly, locate the configuration file and change&lt;br /&gt;
&lt;br /&gt;
    proto udp&lt;br /&gt;
&lt;br /&gt;
to &lt;br /&gt;
&lt;br /&gt;
    proto tcp&lt;br /&gt;
&lt;br /&gt;
== On the Server side ==&lt;br /&gt;
&lt;br /&gt;
Edit this file:&lt;br /&gt;
&lt;br /&gt;
    /etc/openvpn/amahi.conf&lt;br /&gt;
&lt;br /&gt;
Command:&lt;br /&gt;
&lt;br /&gt;
    sudo gedit /etc/openvpn/amahi.conf&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
    sudo nano -w /etc/openvpn/amahi.conf&lt;br /&gt;
&lt;br /&gt;
change &amp;quot;proto udp&amp;quot; to &amp;quot;proto tcp&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart both sides and you are now using openvpn over tcp.&lt;br /&gt;
And add your isp below.&lt;br /&gt;
&lt;br /&gt;
== List of bad ISPs ==&lt;br /&gt;
&lt;br /&gt;
Please add your isp if you need this work-around:&lt;br /&gt;
&lt;br /&gt;
* Bell Canada&lt;br /&gt;
* Thames Valley Communications (Groton, CT)&lt;br /&gt;
&lt;br /&gt;
==Client Reports &amp;quot;TLS handshake failed&amp;quot; and Does Not Connect==&lt;br /&gt;
This is usually caused by packet corruption that may happen for some users.&amp;lt;br&amp;gt;&lt;br /&gt;
Follow the tutorial on &amp;quot;[[Prevent_SSL_Handshake_Timeouts_In_OpenVPN|Prevent SSL Handshake Timeouts In OpenVPN]]&amp;quot; page to fix this.&lt;br /&gt;
&lt;br /&gt;
[[Category: VPN]]&lt;/div&gt;</summary>
		<author><name>Shayneb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=OpenVPN_troubleshooting&amp;diff=38521</id>
		<title>OpenVPN troubleshooting</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=OpenVPN_troubleshooting&amp;diff=38521"/>
		<updated>2011-04-10T04:25:46Z</updated>

		<summary type="html">&lt;p&gt;Shayneb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Typical problems with the VPN:&lt;br /&gt;
&lt;br /&gt;
* You cannot VPN into your network from your very own network (kinda duh)&lt;br /&gt;
* You cannot login two users simultaneously&lt;br /&gt;
* 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).&lt;br /&gt;
* Check that you have port forwarded 1194 udp.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Moving to TCP ==&lt;br /&gt;
&lt;br /&gt;
If UDP is not working because of a shitty ISP (see list below). Then you will have to change from udp to tcp and change your port forwarding of 1194/udp to 1194/tcp.&lt;br /&gt;
&lt;br /&gt;
== Client side: (Windows) ==&lt;br /&gt;
&lt;br /&gt;
Right click the red A, click edit settings.&lt;br /&gt;
If you have a thing saying &amp;quot;HomeHDA &amp;gt; &amp;quot; then mouse over it and click edit settings. Change:&lt;br /&gt;
&lt;br /&gt;
     proto udp&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
     proto tcp&lt;br /&gt;
&lt;br /&gt;
== Blocked port 1194 ==&lt;br /&gt;
Sometimes if you are behind a corporate firewall or it so happens that port 1194 is blocked. The trick is then to use a port that is open. If you are not running https on your amahi, using port 443 is a good choice.&lt;br /&gt;
&lt;br /&gt;
You can move to port 443 by changing the line:&amp;lt;br&amp;gt;&lt;br /&gt;
port 1194&amp;lt;br&amp;gt;&lt;br /&gt;
into&amp;lt;br&amp;gt;&lt;br /&gt;
port 443&amp;lt;br&amp;gt;&lt;br /&gt;
in your /etc/openvpn/amahi.conf file.&lt;br /&gt;
&lt;br /&gt;
Of course you also need to tell the client side to use port 443!&lt;br /&gt;
&lt;br /&gt;
     proto tcp&lt;br /&gt;
&lt;br /&gt;
If for some reason the DDNS (yourhda.com) is not working but your control panel is updating, then add this line at the top of the config file.&lt;br /&gt;
&lt;br /&gt;
       remote YOUR_IP_HERE&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
== Manually (Windows) ==&lt;br /&gt;
&lt;br /&gt;
Edit this file manually or use:&lt;br /&gt;
&lt;br /&gt;
Seven x64&lt;br /&gt;
&lt;br /&gt;
   C:\Program Files (x86)\HDAConnect\config\HomeHDA.opvn&lt;br /&gt;
&lt;br /&gt;
Seven x86 or 32 bit (Also most other Windows versions)&lt;br /&gt;
&lt;br /&gt;
   C:\Program Files\HDAConnect\config\HomeHDA.opvn&lt;br /&gt;
&lt;br /&gt;
Run notepad as admin and open the above file.&lt;br /&gt;
&lt;br /&gt;
== Client Side (Linux/Mac) ==&lt;br /&gt;
&lt;br /&gt;
Similarly, locate the configuration file and change&lt;br /&gt;
&lt;br /&gt;
    proto udp&lt;br /&gt;
&lt;br /&gt;
to &lt;br /&gt;
&lt;br /&gt;
    proto tcp&lt;br /&gt;
&lt;br /&gt;
== On the Server side ==&lt;br /&gt;
&lt;br /&gt;
Edit this file:&lt;br /&gt;
&lt;br /&gt;
    /etc/openvpn/amahi.conf&lt;br /&gt;
&lt;br /&gt;
Command:&lt;br /&gt;
&lt;br /&gt;
    sudo gedit /etc/openvpn/amahi.conf&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
    sudo nano -w /etc/openvpn/amahi.conf&lt;br /&gt;
&lt;br /&gt;
change &amp;quot;proto udp&amp;quot; to &amp;quot;proto tcp&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Restart both sides and you are now using openvpn over tcp.&lt;br /&gt;
And add your isp below.&lt;br /&gt;
&lt;br /&gt;
== List of bad ISPs ==&lt;br /&gt;
&lt;br /&gt;
Please add your isp if you need this work-around:&lt;br /&gt;
&lt;br /&gt;
* Bell Canada&lt;br /&gt;
* Thames Valley Communications (Groton, CT)&lt;br /&gt;
&lt;br /&gt;
==Client Reports &amp;quot;TLS handshake failed&amp;quot; and Does Not Connect==&lt;br /&gt;
This is usually caused by packet corruption that may happen for some users.&amp;lt;br&amp;gt;&lt;br /&gt;
Follow the tutorial on &amp;quot;[[Prevent_SSL_Handshake_Timeouts_In_OpenVPN|Prevent SSL Handshake Timeouts In OpenVPN]]&amp;quot; page to fix this.&lt;br /&gt;
&lt;br /&gt;
[[Category: VPN]]&lt;/div&gt;</summary>
		<author><name>Shayneb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Contribute_code&amp;diff=38485</id>
		<title>Contribute code</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Contribute_code&amp;diff=38485"/>
		<updated>2011-04-08T05:08:05Z</updated>

		<summary type="html">&lt;p&gt;Shayneb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a quick guide for contrinuting code, fixes or develop native apps on Amahi.&lt;br /&gt;
&lt;br /&gt;
* Join the [https://sourceforge.net/mailarchive/forum.php?forum_name=amahi-devel amahi-devel list]&lt;br /&gt;
* If it's your first time, grab a copy of the git repo&lt;br /&gt;
&lt;br /&gt;
      git clone git://git.amahi.org/amahi.git&lt;br /&gt;
&lt;br /&gt;
* If not, pull any changes from the master repo&lt;br /&gt;
&lt;br /&gt;
      cd amahi                (the root of the git tree)&lt;br /&gt;
      git pull&lt;br /&gt;
&lt;br /&gt;
* Get yourself familiar with the pieces, and ask questions!&lt;br /&gt;
* Make some changes to the code, then test them:&lt;br /&gt;
* e.g. for testing the platform:&lt;br /&gt;
&lt;br /&gt;
      cd platform/platform/html&lt;br /&gt;
      ./script/server&lt;br /&gt;
&lt;br /&gt;
     and access it at http://hda:3000&lt;br /&gt;
     you will probably want to turn off &lt;br /&gt;
     dhcp and dns if your server is on the same &lt;br /&gt;
     network as your home HDA&lt;br /&gt;
* You can see your changes with two git tools: status and diff&lt;br /&gt;
&lt;br /&gt;
      git status&lt;br /&gt;
&lt;br /&gt;
* The status gives you a list of what files were modified, added or removed. you can see changes in your area with:&lt;br /&gt;
&lt;br /&gt;
      git diff --cached&lt;br /&gt;
&lt;br /&gt;
* When you know you want to modify a file, you add it to the changes to be committed, for example, say a README file:&lt;br /&gt;
&lt;br /&gt;
      git add README&lt;br /&gt;
&lt;br /&gt;
* For the parts that are added and checked in, you can see the changes with&lt;br /&gt;
&lt;br /&gt;
      git diff&lt;br /&gt;
&lt;br /&gt;
* This is what will be committed!&lt;br /&gt;
&lt;br /&gt;
* Then actually commit your changes to your git repo:&lt;br /&gt;
&lt;br /&gt;
      git commit&lt;br /&gt;
&lt;br /&gt;
* After that you can generate a patch to be sent upstream, e.g. for a patch of the latest commit.:&lt;br /&gt;
&lt;br /&gt;
     1. Go into the patch folder located in the root of the git tree.&lt;br /&gt;
     2. git format-patch HEAD^..HEAD&lt;br /&gt;
    &lt;br /&gt;
NOTE: When creating the patch title(first line) please put it in YYMMDD-PATCHSEQUENCE#-long-patch-name.patch format. In the long name please include what module you are working on. AKA what application etc.. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* This will generate a file called 0001-my-patch.mbox or similar (type ls -l 00*), which then you can email or pastebin it to someone to be committed upstream. You probably want to [[Configure Git]] to your liking first to display the email properly.&lt;br /&gt;
&lt;br /&gt;
* Please note, once the patch is applied upstream, your name and email WILL be officially in the [http://git.amahi.org amahi git repo] as as contributor, which mean it's in the open and it's crawlable, so please use your PUBLIC name/email accordingly.&lt;br /&gt;
&lt;br /&gt;
* For more details, ask in the [http://forums.amahi.org forums], [https://sourceforge.net/mailarchive/forum.php?forum_name=amahi-devel amahi-devel list], or come by the [http://talk.amahi.org IRC channel]&lt;/div&gt;</summary>
		<author><name>Shayneb</name></author>
		
	</entry>
</feed>