Changes

From Amahi Wiki
Jump to: navigation, search
787 bytes added ,  17:00, 31 January 2010
no edit summary
Many messages should scroll by on your terminal screen and you should be requested for your username and password. Enter your HDA username here.
 
If you'd like to connect to the VPN without having to enter your username and password, here's what you need to do:
Create a file named ''credentials'' in the same directory as the above scripts. In it, write your username on the first line, and your password on the second line. Make it readable only by root:
 
<pre><nowiki>
sudo chown root:root credentials; sudo chmod 600 credentials
</nowiki></pre>
 
Then, as root, run the openvpn client software like this, instead of using the above commands:
 
<pre><nowiki>
cd /home/username
openvpn --config myvpn.conf --auth-user-pass credentials
</nowiki></pre>
 
Finally, if you'd like your VPN clients to get IP address in the same subnet as your HDA, and not in the 10.8.0.0/24 subnet (default), read this page: [[VPNBridge]].
 
[[Category: VPN]]