Personal tools

Difference between revisions of "Openvpn"

From MohidWiki

Jump to: navigation, search
(Sample Configuration File)
 
m (1 revision)
(No difference)

Revision as of 10:39, 3 December 2008

Openvpn allows to establish a vpn connection to a remote network.

Openvpn client

From the client perspective, it requires the openvpn client to be installed. It also requires a configuration file, some certificates, a key file and a personal user-defined password:

  • maretec_ist.ovpn
  • MARETEC_VPN_CA.crt
  • usr.MARETEC.crt
  • usr.MARETEC.key

Linux

Here's how to establish a vpn connection to a remote network with openvpn client:

root> openvpn --config maretec_ist.ovpn

Sample Configuration File

Here's a typical configuration .ovpn file:

remote 193.13?.12?.2?5
rport 1?35?
proto udp
dev tap
pull
tls-client

##Uncomment this line in Windows XP
##Comment this line in Linux
#show-net-up 

ca MARETEC_VPN_CA.crt
cert usr.MARETEC.crt
key usr.MARETEC.key

# enable LZO compression
comp-lzo
verb 4

External references