And here's when I try to connect again...
Code:
$ sudo openvpn client.ovpn
Tue Feb 1 17:27:17 2011 OpenVPN 2.1.0 i386-unknown-openbsd4.8 [SSL] [LZO2] built on Aug 10 2010
Tue Feb 1 17:27:17 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Tue Feb 1 17:27:17 2011 WARNING: file 'cert.dat' is group or others accessible
Tue Feb 1 17:27:17 2011 Control Channel MTU parms [ L:1541 D:138 EF:38 EB:0 ET:0 EL:0 ]
Tue Feb 1 17:27:17 2011 Data Channel MTU parms [ L:1541 D:1450 EF:41 EB:4 ET:0 EL:0 ]
Tue Feb 1 17:27:17 2011 Local Options hash (VER=V4): '91138c76'
Tue Feb 1 17:27:17 2011 Expected Remote Options hash (VER=V4): 'f5a300ca'
Tue Feb 1 17:27:17 2011 Socket Buffers: R=[41600->65536] S=[9216->65536]
Tue Feb 1 17:27:17 2011 UDPv4 link local (bound): [undef]:1194
Tue Feb 1 17:27:17 2011 UDPv4 link remote: [VPN IP]:3074
Tue Feb 1 17:27:18 2011 TLS: Initial packet from [VPN IP]:3074, sid=119e7e18 7e8b693a
Tue Feb 1 17:27:19 2011 VERIFY OK: depth=1, /C=US/ST=NY/L=New_York/O=example.com/CN=example.com_CA/emailAddress=admin@example.com
Tue Feb 1 17:27:19 2011 VERIFY OK: nsCertType=SERVER
Tue Feb 1 17:27:19 2011 VERIFY OK: depth=0, /C=US/ST=NY/L=New_York/O=example.com/CN=server/emailAddress=admin@example.com
Tue Feb 1 17:27:21 2011 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 256 bit key
Tue Feb 1 17:27:21 2011 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Feb 1 17:27:21 2011 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 256 bit key
Tue Feb 1 17:27:21 2011 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Feb 1 17:27:21 2011 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Tue Feb 1 17:27:21 2011 [server] Peer Connection Initiated with [VPN IP]:3074
Tue Feb 1 17:27:23 2011 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Tue Feb 1 17:27:23 2011 PUSH: Received control message: 'PUSH_REPLY,route 10.100.2.0 255.255.255.0,redirect-gateway,dhcp-option DNS 10.100.2.1,route-gateway 10.100.2.1,topology subnet,ping 30,ping-restart 120,ifconfig 10.100.2.106 255.255.255.0'
Tue Feb 1 17:27:23 2011 OPTIONS IMPORT: timers and/or timeouts modified
Tue Feb 1 17:27:23 2011 OPTIONS IMPORT: --ifconfig/up options modified
Tue Feb 1 17:27:23 2011 OPTIONS IMPORT: route options modified
Tue Feb 1 17:27:23 2011 OPTIONS IMPORT: route-related options modified
Tue Feb 1 17:27:23 2011 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Tue Feb 1 17:27:23 2011 ROUTE default_gateway=192.168.1.1
Tue Feb 1 17:27:23 2011 /sbin/ifconfig tun0 destroy
Tue Feb 1 17:27:23 2011 /sbin/ifconfig tun0 create
Tue Feb 1 17:27:23 2011 NOTE: Tried to delete pre-existing tun/tap instance -- No Problem if failure
Tue Feb 1 17:27:23 2011 /sbin/ifconfig tun0 10.100.2.106 netmask 255.255.255.0 mtu 1500 broadcast 10.100.2.255 link0
Tue Feb 1 17:27:23 2011 TUN/TAP device /dev/tun0 opened
Tue Feb 1 17:27:25 2011 /sbin/route add -net [VPN IP] 192.168.1.1 -netmask 255.255.255.255
add net [VPN IP]: gateway 192.168.1.1
Tue Feb 1 17:27:25 2011 /sbin/route add -net 0.0.0.0 10.100.2.1 -netmask 128.0.0.0
add net 0.0.0.0: gateway 10.100.2.1
Tue Feb 1 17:27:25 2011 /sbin/route add -net 128.0.0.0 10.100.2.1 -netmask 128.0.0.0
add net 128.0.0.0: gateway 10.100.2.1
Tue Feb 1 17:27:25 2011 /sbin/route add -net 10.100.2.0 10.100.2.1 -netmask 255.255.255.0
add net 10.100.2.0: gateway 10.100.2.1
Tue Feb 1 17:27:25 2011 Initialization Sequence Completed
Code:
$ ifconfig -A
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33200
priority: 0
groups: lo
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
nfe0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:xx:xx:xx:xx:86
priority: 0
groups: egress
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet6 fe80::2xx:xxff:fexx:xx86%nfe0 prefixlen 64 scopeid 0x1
inet 192.168.1.4 netmask 0xffffff00 broadcast 192.168.1.255
enc0: flags=0<>
priority: 0
groups: enc
status: active
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33200
priority: 0
groups: pflog
tun0: flags=9843<UP,BROADCAST,RUNNING,SIMPLEX,LINK0,MULTICAST> mtu 1500
lladdr fe:xx:xx:xx:xx:2c
priority: 0
groups: tun
status: active
inet 10.100.1.112 netmask 0xffffff00 broadcast 10.100.1.255
inet6 fe80::fcxx:xxff:fexx:xx2c%tun0 prefixlen 64 scopeid 0x6
route -n show:
Code:
Routing tables
Internet:
Destination Gateway Flags Refs Use Mtu Prio Iface
0/1 10.100.1.1 UGS 0 0 - 8 tun0
default 192.168.1.1 UGS 10 1849 - 8 nfe0
10.100.1/24 link#6 UC 1 0 - 4 tun0
10.100.1/24 10.100.1.1 UGS 0 0 - 8 tun0
10.100.1.1 link#6 UHLc 3 0 - 4 tun0
[VPN IP]/32 192.168.1.1 UGS 0 0 - 8 nfe0
127/8 127.0.0.1 UGRS 0 0 33200 8 lo0
127.0.0.1 127.0.0.1 UH 5 1233 33200 4 lo0
128/1 10.100.1.1 UGS 0 0 - 8 tun0
192.168.1/24 link#1 UC 1 0 - 4 nfe0
192.168.1.1 00:xx:xx:xx:xx:8c UHLc 2 54 - 4 nfe0
192.168.1.4 127.0.0.1 UGHS 0 0 33200 8 lo0
224/4 127.0.0.1 URS 0 0 33200 8 lo0
Internet6:
Destination Gateway Flags Refs Use Mtu Prio Iface
::/104 ::1 UGRS 0 0 - 8 lo0
::/96 ::1 UGRS 0 0 - 8 lo0
::1 ::1 UH 14 0 33200 4 lo0
::127.0.0.0/104 ::1 UGRS 0 0 - 8 lo0
::224.0.0.0/100 ::1 UGRS 0 0 - 8 lo0
::255.0.0.0/104 ::1 UGRS 0 0 - 8 lo0
::ffff:0.0.0.0/96 ::1 UGRS 0 0 - 8 lo0
2002::/24 ::1 UGRS 0 0 - 8 lo0
2002:7f00::/24 ::1 UGRS 0 0 - 8 lo0
2002:e000::/20 ::1 UGRS 0 0 - 8 lo0
2002:ff00::/24 ::1 UGRS 0 0 - 8 lo0
fe80::/10 ::1 UGRS 2 0 - 8 lo0
fe80::%nfe0/64 link#1 UC 0 0 - 4 nfe0
fe80::2xx:xxff:fexx:xx86%nfe0 00:xx:xx:xx:xx:86 HL 0 0 - 4 lo0
fe80::%lo0/64 fe80::1%lo0 U 0 0 - 4 lo0
fe80::1%lo0 link#3 UHL 0 0 - 4 lo0
fe80::%tun0/64 link#6 UC 0 0 - 4 tun0
fe80::fcxx:xxff:fexx:xxa0%tun0 fe:xx:xx:xx:xx:a0 HL 0 0 - 4 lo0
fec0::/10 ::1 UGRS 0 0 - 8 lo0
ff01::/16 ::1 UGRS 0 0 - 8 lo0
ff01::%nfe0/32 link#1 UC 0 0 - 4 nfe0
ff01::%lo0/32 ::1 UC 0 0 - 4 lo0
ff01::%tun0/32 link#6 UC 0 0 - 4 tun0
ff02::/16 ::1 UGRS 6 0 - 8 lo0
ff02::%nfe0/32 link#1 UC 0 0 - 4 nfe0
ff02::%lo0/32 ::1 UC 0 0 - 4 lo0
ff02::%tun0/32 link#6 UC 0 0 - 4 tun0