Projet

Général

Profil

OpenVPN » Historique » Version 1

Laurent GUERBY, 27/12/2011 08:20

1 1 Laurent GUERBY
h1. OpenVPN
2 1 Laurent GUERBY
3 1 Laurent GUERBY
4 1 Laurent GUERBY
<pre>
5 1 Laurent GUERBY
openvpn --genkey --secret tst.key
6 1 Laurent GUERBY
7 1 Laurent GUERBY
#server
8 1 Laurent GUERBY
openvpn --mktun --dev-type tap --dev taptst
9 1 Laurent GUERBY
ip link set taptst up
10 1 Laurent GUERBY
openvpn --dev-type tap --dev tapstg --comp-lzo yes --cipher none --proto udp --daemon --keepalive 10 30 --secret tst.key --port 1234
11 1 Laurent GUERBY
12 1 Laurent GUERBY
#client
13 1 Laurent GUERBY
openvpn --mktun --dev-type tap --dev taptst
14 1 Laurent GUERBY
ip link set taptst up
15 1 Laurent GUERBY
openvpn --dev-type tap --dev tapstg --comp-lzo yes --cipher none --proto udp --daemon --keepalive 10 30 --secret tst.key --remote A.B.C.D 1234
16 1 Laurent GUERBY
</pre>