VPN connection

merelworks
Posts: 1
Joined: Sun May 27, 2012 6:54 am

VPN connection

Postby merelworks » Sun May 27, 2012 7:16 am

When trying connecting to the HDA outside the network (desktop at work) a time-out errors shows up regarding port 1194. In "VPN troubleshooting-Amahi" I found that changing to port 443 might be the solution. The problem is that I should edit the file /etc/openvpn/amahi.conf file with gedit: this is not possible because I have no "root" access to the file nor the directory. How can I get "root" access to files and/or directories?
Many thanks in advance.
Merelworks

User avatar
radioz
Posts: 406
Joined: Tue Nov 24, 2009 1:07 pm

Re: VPN connection

Postby radioz » Sun May 27, 2012 7:58 am

Try:
gksu gedit /etc/openvpn/amahi.conf

This runs gedit as root.

You can use gksu for gtk applications (like gedit), or sudo for command line programs. They prompt for your password and then run the programs as root.

Good luck.

Who is online

Users browsing this forum: No registered users and 9 guests