How to Setup Openvpn to Access to a Remote Internal Network from Home
This write up will help you setup open vpn for remote access. I'm assuming you're using a windows machine :-) 1. First download a...
https://www.czetsuyatech.com/2012/05/networking-configure-openvpn.html
This write up will help you setup open vpn for remote access.
I'm assuming you're using a windows machine :-)
1. First download and install the OpenVPN client from: http://openvpn.net/index.php/open-source/downloads
2.) Ask for the ff files from your network admin:
a.) ca.crt
b.) yourprofile.crt
c.) yourprofile.key
d.) ta.key (optional - only required when tls-auth is activated on the server)
3.) Paste files from #2 to: C:\Program Files (x86)\OpenVPN\config, or to the config folder where you install openvpn.
4.) Now we need to edit the template.ovpn from C:\Program Files (x86)\OpenVPN\ and move it inside the config folder.
5.) I'll just enumerate the usual modifications:
>Remote server section:
remote my-server-1 1194
>SSL/TLS parms section:
ca ca.crt
cert yourprofile.crt
key yourprofile.key
>tls-auth section (if enable):
tls-auth ta.key 1
>compression section (if you want to enable comp-lzo
comp-lzo
That's all for the configuration section. Now let's run open vpn client from: C:\Program Files (x86)\OpenVPN\bin\openvpn-gui-1.0.3.exe. It will open an application in your system tray, right click on it and click connect.
If you have an error, just diagnose the logs from:
C:\Program Files (x86)\OpenVPN\log
Some problems you might encounter:
1.) TAP-Win32 Adapter - disabled.
>Go to Control Panel->Network and Sharing Center->Change adapter settings, and activate TAP-Win32 Adapter V9
2.) If you want to install in linux follow this guide:
https://help.ubuntu.com/10.04/serverguide/openvpn.html
I'm assuming you're using a windows machine :-)
1. First download and install the OpenVPN client from: http://openvpn.net/index.php/open-source/downloads
2.) Ask for the ff files from your network admin:
a.) ca.crt
b.) yourprofile.crt
c.) yourprofile.key
d.) ta.key (optional - only required when tls-auth is activated on the server)
3.) Paste files from #2 to: C:\Program Files (x86)\OpenVPN\config, or to the config folder where you install openvpn.
4.) Now we need to edit the template.ovpn from C:\Program Files (x86)\OpenVPN\ and move it inside the config folder.
5.) I'll just enumerate the usual modifications:
>Remote server section:
remote my-server-1 1194
>SSL/TLS parms section:
ca ca.crt
cert yourprofile.crt
key yourprofile.key
>tls-auth section (if enable):
tls-auth ta.key 1
>compression section (if you want to enable comp-lzo
comp-lzo
That's all for the configuration section. Now let's run open vpn client from: C:\Program Files (x86)\OpenVPN\bin\openvpn-gui-1.0.3.exe. It will open an application in your system tray, right click on it and click connect.
If you have an error, just diagnose the logs from:
C:\Program Files (x86)\OpenVPN\log
Some problems you might encounter:
1.) TAP-Win32 Adapter - disabled.
>Go to Control Panel->Network and Sharing Center->Change adapter settings, and activate TAP-Win32 Adapter V9
2.) If you want to install in linux follow this guide:
https://help.ubuntu.com/10.04/serverguide/openvpn.html
Post a Comment