10/7

OpenVPN Installation!

1. Install OpenVPN referencing this guide :
openvpn-how-to

2. Install NEWEST RC Client OpenVPN 2.1_rc18
(Only this version support Vista 64 bits!!!)

3. Get the keys from server (supposing is using secure way, but… I just use insecure way for demo)

4. Configure the client configuration

– copy ca.crt, client.crt, client.key to C:\Program Files (x86)\OpenVPN\config

5. Copy C:\Program Files (x86)\OpenVPN\sample-config\client.ovpn (in windows, client.conf if using Linux) to C:\Program Files (x86)\OpenVPN\config

– Edit the port, ca.crt, client.crt, client.key configuration values

6. Install OpenVPN GUI ( I assume that you want to use GUI)

– http://openvpn.se/files/binary/openvpn-gui-1.0.3.exe

6. run!

** To redirect all traffic to VPN Server

1. Add following line in server.conf

push “redirect-gateway def1″

2. Run “echo 1 > /proc/sys/net/ipv4/ip_forward” in server (thanks wallace)

3. Add following line in client.conf (client.ovpn in Windows)

push “dhcp-option DNS 10.8.0.1″

Finally succeeded!! All problem has been sloved.

Leave a Reply

Your email address will not be published. Required fields are marked *