Vyatta Openvpn Client to Site Configuration without split tunnel

Vyatta Openvpn Client to Site Configuration (without split tunnel)

vyatta 6.5

 

With Split tunnel: http://ithelpblog.com/network/vyatta-openvpn-client-to-site-configuration-split-tunnel/

Diagram:

Step 1: Vyatta Openvpn client to Site Configuration without split tunnel

set interfaces openvpn vtun0
set interfaces openvpn vtun0 mode server
set interfaces openvpn vtun0 server subnet 10.4.5.0/24
set interfaces openvpn vtun0 tls ca-cert-file /usr/share/doc/openvpn/examples/easy-rsa/2.0/keys/ca.crt
set interfaces openvpn vtun0 tls cert-file /usr/share/doc/openvpn/examples/easy-rsa/2.0/keys/OpenVPN.crt
set interfaces openvpn vtun0 tls dh-file /usr/share/doc/openvpn/examples/easy-rsa/2.0/keys/dh1024.pem
set interfaces openvpn vtun0 tls key-file /usr/share/doc/openvpn/examples/easy-rsa/2.0/keys/OpenVPN.key
set interfaces openvpn vtun0 openvpn-option “–push dhcp-option DNS 10.4.5.1″

set interfaces openvpn vtun0 replace-default-route

commit

save

Step 2:  OpenVPN Client Configuration

Download OpenVPN client package http://openvpn.net/index.php?option=com_content&id=357 and install on your PC (Windows or Linux)

Install OpenVPN on Windows 7

Install OpenVPN on Centos 6.3

Install OpenVPN on Ubuntu 12

OpenVPN Client ovpn file configuration:

ithelpblog.ovpn

client
dev tun
proto udp
remote 47.232.123.4
nobind
persist-key
persist-tun
ca ca.crt
cert ithelpblog.crt
key ithelpblog.key
verb 3

That’s all. Thanks for using IThelpblog.com.

 

Tags:  

Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>