You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.4 KiB
30 lines
1.4 KiB
prerequisites:
|
|
- openssl
|
|
|
|
|
|
- port 5000 udp
|
|
|
|
|
|
server:
|
|
netsprinter:~ # openvpn --port 5000 --dev tun0 --ifconfig 10.0.0.1 10.0.0.2 --secret geheimer.key
|
|
Sun Jan 23 17:32:14 2005 0[0]: OpenVPN 1.6_rc4 i686-pc-linux-gnu [SSL] [LZO] [PTHREAD] built on Dec 3 2004
|
|
Sun Jan 23 17:32:14 2005 1[0]: TUN/TAP device tun0 opened
|
|
Sun Jan 23 17:32:14 2005 2[0]: /sbin/ifconfig tun0 10.0.0.1 pointopoint 10.0.0.2 mtu 1256
|
|
Sun Jan 23 17:32:14 2005 3[0]: PTHREAD support initialized
|
|
Sun Jan 23 17:32:14 2005 4[0]: UDPv4 link local (bound): [undef]:5000
|
|
Sun Jan 23 17:32:14 2005 5[0]: UDPv4 link remote: [undef]
|
|
Sun Jan 23 17:32:59 2005 6[0]: Peer Connection Initiated with 192.168.1.37:5000
|
|
Sun Jan 23 17:35:57 2005 7[0]: select : Interrupted system call (code=4)
|
|
Sun Jan 23 17:35:57 2005 8[0]: SIGINT received, exiting
|
|
|
|
|
|
client:
|
|
crissi:/home/crissi# openvpn --dev tun0 --port 5000 --remote 192.168.1.36 --ifconfig 10.0.0.2 10.0.0.1 --secret ./geheimer.key
|
|
Sun Jan 23 17:45:47 2005 OpenVPN 2.0_rc6 i386-pc-linux [SSL] [LZO] [EPOLL] built on Jan 5 2005
|
|
Sun Jan 23 17:45:47 2005 TUN/TAP device tun0 opened
|
|
Sun Jan 23 17:45:47 2005 /sbin/ifconfig tun0 10.0.0.2 pointopoint 10.0.0.1 mtu 1500
|
|
Sun Jan 23 17:45:47 2005 UDPv4 link local (bound): [undef]:5000
|
|
Sun Jan 23 17:45:47 2005 UDPv4 link remote: 192.168.1.36:5000
|
|
Sun Jan 23 17:45:57 2005 Peer Connection Initiated with 192.168.1.36:5000
|
|
Sun Jan 23 17:45:58 2005 Initialization Sequence Completed
|