Advertisement
Guest User

Untitled

a guest
Apr 24th, 2017
871
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 86.83 KB | None | 0 0
  1. telecomm@telecomm-VirtualBox:~$ if
  2. if ifconfig ifdown ifquery ifup
  3. telecomm@telecomm-VirtualBox:~$ ifconfig
  4. enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
  5. inet addr:192.168.69.136 Bcast:192.168.69.255 Mask:255.255.255.0
  6. inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
  7. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  8. RX packets:3658 errors:0 dropped:16 overruns:0 frame:0
  9. TX packets:1084 errors:0 dropped:0 overruns:0 carrier:0
  10. collisions:0 txqueuelen:1000
  11. RX bytes:3719892 (3.7 MB) TX bytes:199530 (199.5 KB)
  12.  
  13. enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
  14. inet6 addr: fe80::4578:1057:b5ae:2cc0/64 Scope:Link
  15. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  16. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  17. TX packets:63 errors:0 dropped:0 overruns:0 carrier:0
  18. collisions:0 txqueuelen:1000
  19. RX bytes:0 (0.0 B) TX bytes:10286 (10.2 KB)
  20.  
  21. lo Link encap:Local Loopback
  22. inet addr:127.0.0.1 Mask:255.0.0.0
  23. inet6 addr: ::1/128 Scope:Host
  24. UP LOOPBACK RUNNING MTU:65536 Metric:1
  25. RX packets:349 errors:0 dropped:0 overruns:0 frame:0
  26. TX packets:349 errors:0 dropped:0 overruns:0 carrier:0
  27. collisions:0 txqueuelen:1
  28. RX bytes:51676 (51.6 KB) TX bytes:51676 (51.6 KB)
  29.  
  30. telecomm@telecomm-VirtualBox:~$ sudo apt install openvpn
  31. [sudo] password for telecomm:
  32. Sorry, try again.
  33. [sudo] password for telecomm:
  34. Sorry, try again.
  35. [sudo] password for telecomm:
  36. Reading package lists... Done
  37. Building dependency tree
  38. Reading state information... Done
  39. The following additional packages will be installed:
  40. libpkcs11-helper1
  41. Suggested packages:
  42. easy-rsa
  43. The following NEW packages will be installed:
  44. libpkcs11-helper1 openvpn
  45. 0 upgraded, 2 newly installed, 0 to remove and 386 not upgraded.
  46. Need to get 462 kB of archives.
  47. After this operation, 1 163 kB of additional disk space will be used.
  48. Do you want to continue? [Y/n]
  49. Get:1 http://fi.archive.ubuntu.com/ubuntu xenial/main amd64 libpkcs11-helper1 amd64 1.11-5 [44,0 kB]
  50. Get:2 http://fi.archive.ubuntu.com/ubuntu xenial/main amd64 openvpn amd64 2.3.10-1ubuntu2 [418 kB]
  51. Fetched 462 kB in 0s (2 191 kB/s)
  52. Preconfiguring packages ...
  53. Selecting previously unselected package libpkcs11-helper1:amd64.
  54. (Reading database ... 175392 files and directories currently installed.)
  55. Preparing to unpack .../libpkcs11-helper1_1.11-5_amd64.deb ...
  56. Unpacking libpkcs11-helper1:amd64 (1.11-5) ...
  57. Selecting previously unselected package openvpn.
  58. Preparing to unpack .../openvpn_2.3.10-1ubuntu2_amd64.deb ...
  59. Unpacking openvpn (2.3.10-1ubuntu2) ...
  60. Processing triggers for libc-bin (2.23-0ubuntu3) ...
  61. Processing triggers for man-db (2.7.5-1) ...
  62. Processing triggers for systemd (229-4ubuntu7) ...
  63. Processing triggers for ureadahead (0.100.0-19) ...
  64. Setting up libpkcs11-helper1:amd64 (1.11-5) ...
  65. Setting up openvpn (2.3.10-1ubuntu2) ...
  66. * Restarting virtual private network daemon(s)... * No VPN is running.
  67. Processing triggers for libc-bin (2.23-0ubuntu3) ...
  68. Processing triggers for systemd (229-4ubuntu7) ...
  69. Processing triggers for ureadahead (0.100.0-19) ...
  70. telecomm@telecomm-VirtualBox:~$ sudo cp /usr/share/doc/openvpn/examples/sample-config-files/client.conf /etc/op
  71. openvpn/ opt/
  72. telecomm@telecomm-VirtualBox:~$ sudo cp /usr/share/doc/openvpn/examples/sample-config-files/client.conf /etc/op
  73. openvpn/ opt/
  74. telecomm@telecomm-VirtualBox:~$ sudo cp /usr/share/doc/openvpn/examples/sample-config-files/client.conf /etc/op
  75. openvpn/ opt/
  76. telecomm@telecomm-VirtualBox:~$ sudo cp /usr/share/doc/openvpn/examples/sample-config-files/client.conf /etc/op
  77. openvpn/ opt/
  78. telecomm@telecomm-VirtualBox:~$ sudo cp /usr/share/doc/openvpn/examples/sample-config-files/client.conf /etc/openvpn/
  79. telecomm@telecomm-VirtualBox:~$ ls /etc/openvpn
  80. client.conf update-resolv-conf
  81. telecomm@telecomm-VirtualBox:~$ remote 10.8.6.0 1194
  82. remote: command not found
  83. telecomm@telecomm-VirtualBox:~$ remote 10.8.6.1 1194
  84. remote: command not found
  85. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client start
  86. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
  87. ● openvpn@client.service - OpenVPN connection to client
  88. Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset
  89. Active: active (running) since ma 2017-04-24 09:44:25 EEST; 5s ago
  90. Docs: man:openvpn(8)
  91. https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
  92. https://community.openvpn.net/openvpn/wiki/HOWTO
  93. Process: 4577 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openv
  94. Main PID: 4579 (openvpn)
  95. CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
  96. └─4579 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/c
  97.  
  98. huhti 24 09:44:25 telecomm-VirtualBox systemd[1]: Starting OpenVPN connection to
  99. huhti 24 09:44:25 telecomm-VirtualBox ovpn-client[4577]: OpenVPN 2.3.10 x86_64-p
  100. huhti 24 09:44:25 telecomm-VirtualBox ovpn-client[4577]: library versions: OpenS
  101. huhti 24 09:44:25 telecomm-VirtualBox systemd[1]: openvpn@client.service: PID fi
  102. huhti 24 09:44:25 telecomm-VirtualBox ovpn-client[4579]: Socket Buffers: R=[2129
  103. huhti 24 09:44:25 telecomm-VirtualBox systemd[1]: Started OpenVPN connection to
  104. huhti 24 09:44:25 telecomm-VirtualBox ovpn-client[4579]: RESOLVE: Cannot resolve
  105. huhti 24 09:44:25 telecomm-VirtualBox ovpn-client[4579]: RESOLVE: Cannot resolve
  106. huhti 24 09:44:30 telecomm-VirtualBox ovpn-client[4579]: RESOLVE: Cannot resolve
  107. lines 1-20/20 (END)...skipping...
  108. ● openvpn@client.service - OpenVPN connection to client
  109. Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
  110. Active: active (running) since ma 2017-04-24 09:44:25 EEST; 5s ago
  111. Docs: man:openvpn(8)
  112. https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
  113. https://community.openvpn.net/openvpn/wiki/HOWTO
  114. Process: 4577 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --script-security 2 --config /etc/op
  115. Main PID: 4579 (openvpn)
  116. CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
  117. └─4579 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/client.status 10 --cd /etc/openvpn --script-security 2 --config /etc/op
  118.  
  119. huhti 24 09:44:25 telecomm-VirtualBox systemd[1]: Starting OpenVPN connection to client...
  120. huhti 24 09:44:25 telecomm-VirtualBox ovpn-client[4577]: OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built o
  121. huhti 24 09:44:25 telecomm-VirtualBox ovpn-client[4577]: library versions: OpenSSL 1.0.2g-fips 1 Mar 2016, LZO 2.08
  122. huhti 24 09:44:25 telecomm-VirtualBox systemd[1]: openvpn@client.service: PID file /run/openvpn/client.pid not readable (yet?) after start: No such fi
  123. huhti 24 09:44:25 telecomm-VirtualBox ovpn-client[4579]: Socket Buffers: R=[212992->212992] S=[212992->212992]
  124. huhti 24 09:44:25 telecomm-VirtualBox systemd[1]: Started OpenVPN connection to client.
  125. huhti 24 09:44:25 telecomm-VirtualBox ovpn-client[4579]: RESOLVE: Cannot resolve host address: my-server-1: Name or service not known
  126. huhti 24 09:44:25 telecomm-VirtualBox ovpn-client[4579]: RESOLVE: Cannot resolve host address: my-server-1: Name or service not known
  127. huhti 24 09:44:30 telecomm-VirtualBox ovpn-client[4579]: RESOLVE: Cannot resolve host address: my-server-1: Name or service not known
  128. ~
  129. ~
  130. ~
  131. ~
  132. ~
  133. ~
  134. ~
  135. ~
  136. ~
  137. ~
  138. ~
  139. ~
  140. ~
  141. ~
  142. ~
  143. ~
  144. ~
  145. ~
  146. ~
  147. ~
  148. ~
  149. ~
  150. ~
  151. ~
  152. ~
  153. ~
  154. ^X
  155. telecomm@telecomm-VirtualBox:~$ sudo nano /etc/openvpn/client.conf
  156. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client restart
  157. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
  158. ● openvpn@client.service - OpenVPN connection to client
  159. Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
  160. Active: active (running) since ma 2017-04-24 09:46:36 EEST; 3s ago
  161. Docs: man:openvpn(8)
  162. https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
  163. https://community.openvpn.net/openvpn/wiki/HOWTO
  164. Process: 4608 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --script-security 2 --config /etc/op
  165. Main PID: 4612 (openvpn)
  166. CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
  167. └─4612 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/client.status 10 --cd /etc/openvpn --script-security 2 --config /etc/op
  168.  
  169. huhti 24 09:46:36 telecomm-VirtualBox systemd[1]: Starting OpenVPN connection to client...
  170. huhti 24 09:46:36 telecomm-VirtualBox ovpn-client[4608]: OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built o
  171. huhti 24 09:46:36 telecomm-VirtualBox ovpn-client[4608]: library versions: OpenSSL 1.0.2g-fips 1 Mar 2016, LZO 2.08
  172. huhti 24 09:46:36 telecomm-VirtualBox systemd[1]: openvpn@client.service: PID file /run/openvpn/client.pid not readable (yet?) after start: No such fi
  173. huhti 24 09:46:36 telecomm-VirtualBox ovpn-client[4612]: Socket Buffers: R=[212992->212992] S=[212992->212992]
  174. huhti 24 09:46:36 telecomm-VirtualBox ovpn-client[4612]: UDPv4 link local: [undef]
  175. huhti 24 09:46:36 telecomm-VirtualBox ovpn-client[4612]: UDPv4 link remote: [AF_INET]10.8.6.1:1194
  176. huhti 24 09:46:36 telecomm-VirtualBox systemd[1]: Started OpenVPN connection to client.
  177. lines 1-19/19 (END)
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225. ● openvpn@client.service - OpenVPN connection to client
  226. Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
  227. Active: active (running) since ma 2017-04-24 09:46:36 EEST; 3s ago
  228. Docs: man:openvpn(8)
  229. https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
  230. https://community.openvpn.net/openvpn/wiki/HOWTO
  231. Process: 4608 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/%i.conf --
  232. Main PID: 4612 (openvpn)
  233. CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
  234. └─4612 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/client.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/client.con
  235.  
  236. huhti 24 09:46:36 telecomm-VirtualBox systemd[1]: Starting OpenVPN connection to client...
  237. huhti 24 09:46:36 telecomm-VirtualBox ovpn-client[4608]: OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Feb 2 2016
  238. huhti 24 09:46:36 telecomm-VirtualBox ovpn-client[4608]: library versions: OpenSSL 1.0.2g-fips 1 Mar 2016, LZO 2.08
  239. huhti 24 09:46:36 telecomm-VirtualBox systemd[1]: openvpn@client.service: PID file /run/openvpn/client.pid not readable (yet?) after start: No such file or directory
  240. huhti 24 09:46:36 telecomm-VirtualBox ovpn-client[4612]: Socket Buffers: R=[212992->212992] S=[212992->212992]
  241. huhti 24 09:46:36 telecomm-VirtualBox ovpn-client[4612]: UDPv4 link local: [undef]
  242. huhti 24 09:46:36 telecomm-VirtualBox ovpn-client[4612]: UDPv4 link remote: [AF_INET]10.8.6.1:1194
  243. huhti 24 09:46:36 telecomm-VirtualBox systemd[1]: Started OpenVPN connection to client.
  244. ~
  245. ~
  246. ~
  247. ~
  248. ~
  249. ~
  250. ~
  251. ~
  252. ~
  253. ~
  254. ~
  255. ~
  256. ~
  257. ~
  258. ~
  259. ~
  260. ~
  261. ~
  262. ~
  263. ~
  264. ~
  265. ~
  266. ~
  267. ~
  268. ~
  269. ~
  270. ~
  271. ...skipping...
  272. ● openvpn@client.service - OpenVPN connection to client
  273. Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
  274. Active: active (running) since ma 2017-04-24 09:46:36 EEST; 3s ago
  275. Docs: man:openvpn(8)
  276. https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
  277. https://community.openvpn.net/openvpn/wiki/HOWTO
  278. Process: 4608 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/%i.conf --
  279. Main PID: 4612 (openvpn)
  280. CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
  281. └─4612 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/client.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/client.con
  282.  
  283. huhti 24 09:46:36 telecomm-VirtualBox systemd[1]: Starting OpenVPN connection to client...
  284. huhti 24 09:46:36 telecomm-VirtualBox ovpn-client[4608]: OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Feb 2 2016
  285. huhti 24 09:46:36 telecomm-VirtualBox ovpn-client[4608]: library versions: OpenSSL 1.0.2g-fips 1 Mar 2016, LZO 2.08
  286. huhti 24 09:46:36 telecomm-VirtualBox systemd[1]: openvpn@client.service: PID file /run/openvpn/client.pid not readable (yet?) after start: No such file or directory
  287. huhti 24 09:46:36 telecomm-VirtualBox ovpn-client[4612]: Socket Buffers: R=[212992->212992] S=[212992->212992]
  288. huhti 24 09:46:36 telecomm-VirtualBox ovpn-client[4612]: UDPv4 link local: [undef]
  289. huhti 24 09:46:36 telecomm-VirtualBox ovpn-client[4612]: UDPv4 link remote: [AF_INET]10.8.6.1:1194
  290. huhti 24 09:46:36 telecomm-VirtualBox systemd[1]: Started OpenVPN connection to client.
  291. ~
  292. ~
  293. ~
  294. ~
  295. ~
  296. ~
  297. ~
  298. ~
  299. ~
  300. ~
  301. ~
  302. ~
  303. ~
  304. ~
  305. ~
  306. ~
  307. ~
  308. ~
  309. ~
  310. ~
  311. ~
  312. ~
  313. ~
  314. ~
  315. ~
  316. ~
  317. ~
  318. ^X
  319. [1]+ Stopped sudo service openvpn@client status
  320. ^Z^Z^C^C
  321. telecomm@telecomm-VirtualBox:~$ sudo nano /etc/openvpn/client.conf
  322. telecomm@telecomm-VirtualBox:~$ traceroute6
  323. Usage: traceroute6 [-dnrvV] [-m max_ttl] [-p port#] [-q nqueries]
  324. [-s src_addr] [-t tos] [-w wait] host [data size]
  325. telecomm@telecomm-VirtualBox:~$ traceroute google.com
  326. The program 'traceroute' can be found in the following packages:
  327. * inetutils-traceroute
  328. * traceroute
  329. Try: sudo apt install <selected package>
  330. telecomm@telecomm-VirtualBox:~$ traceroute6 google.com
  331. connect: Network is unreachable
  332. telecomm@telecomm-VirtualBox:~$ ping 10.8.6.1
  333. PING 10.8.6.1 (10.8.6.1) 56(84) bytes of data.
  334. From 192.168.4.1 icmp_seq=1 Destination Net Unreachable
  335.  
  336. From 192.168.4.1 icmp_seq=2 Destination Net Unreachable
  337. From 192.168.4.1 icmp_seq=3 Destination Net Unreachable
  338. From 192.168.4.1 icmp_seq=4 Destination Net Unreachable
  339. From 192.168.4.1 icmp_seq=5 Destination Net Unreachable
  340. From 192.168.4.1 icmp_seq=6 Destination Net Unreachable
  341. From 192.168.4.1 icmp_seq=7 Destination Net Unreachable
  342. From 192.168.4.1 icmp_seq=8 Destination Net Unreachable
  343. From 192.168.4.1 icmp_seq=9 Destination Net Unreachable
  344. From 192.168.4.1 icmp_seq=10 Destination Net Unreachable
  345. From 192.168.4.1 icmp_seq=11 Destination Net Unreachable
  346. From 192.168.4.1 icmp_seq=12 Destination Net Unreachable
  347. ^XFrom 192.168.4.1 icmp_seq=13 Destination Net Unreachable
  348. From 192.168.4.1 icmp_seq=14 Destination Net Unreachable
  349. ^X^XFrom 192.168.4.1 icmp_seq=15 Destination Net Unreachable
  350. ^C
  351. --- 10.8.6.1 ping statistics ---
  352. 15 packets transmitted, 0 received, +15 errors, 100% packet loss, time 14016ms
  353.  
  354. telecomm@telecomm-VirtualBox:~$ ipconfig tun0
  355. No command 'ipconfig' found, did you mean:
  356. Command 'iwconfig' from package 'wireless-tools' (main)
  357. Command 'ifconfig' from package 'net-tools' (main)
  358. Command 'iconfig' from package 'ipmiutil' (universe)
  359. ipconfig: command not found
  360. telecomm@telecomm-VirtualBox:~$ ipconfig
  361. No command 'ipconfig' found, did you mean:
  362. Command 'iconfig' from package 'ipmiutil' (universe)
  363. Command 'ifconfig' from package 'net-tools' (main)
  364. Command 'iwconfig' from package 'wireless-tools' (main)
  365. ipconfig: command not found
  366. telecomm@telecomm-VirtualBox:~$ ifconfig tun0
  367. tun0: error fetching interface information: Device not found
  368. telecomm@telecomm-VirtualBox:~$ ifconfig tun0
  369. tun0: error fetching interface information: Device not found
  370. telecomm@telecomm-VirtualBox:~$ ifconfig
  371. enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
  372. inet addr:192.168.69.136 Bcast:192.168.69.255 Mask:255.255.255.0
  373. inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
  374. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  375. RX packets:13270 errors:0 dropped:16 overruns:0 frame:0
  376. TX packets:2150 errors:0 dropped:0 overruns:0 carrier:0
  377. collisions:0 txqueuelen:1000
  378. RX bytes:5264435 (5.2 MB) TX bytes:316076 (316.0 KB)
  379.  
  380. enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
  381. inet6 addr: fe80::4578:1057:b5ae:2cc0/64 Scope:Link
  382. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  383. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  384. TX packets:322 errors:0 dropped:0 overruns:0 carrier:0
  385. collisions:0 txqueuelen:1000
  386. RX bytes:0 (0.0 B) TX bytes:56953 (56.9 KB)
  387.  
  388. lo Link encap:Local Loopback
  389. inet addr:127.0.0.1 Mask:255.0.0.0
  390. inet6 addr: ::1/128 Scope:Host
  391. UP LOOPBACK RUNNING MTU:65536 Metric:1
  392. RX packets:875 errors:0 dropped:0 overruns:0 frame:0
  393. TX packets:875 errors:0 dropped:0 overruns:0 carrier:0
  394. collisions:0 txqueuelen:1
  395. RX bytes:115680 (115.6 KB) TX bytes:115680 (115.6 KB)
  396.  
  397. telecomm@telecomm-VirtualBox:~$ ls help
  398. ls: cannot access 'help': No such file or directory
  399. telecomm@telecomm-VirtualBox:~$ ls -h
  400. ca.crt client1.crt client1.key Desktop Documents Downloads examples.desktop Music Pictures Public Templates Videos
  401. telecomm@telecomm-VirtualBox:~$ ls /etc/openvpn/
  402. ca.crt client1.crt client1.key client.conf update-resolv-conf
  403. telecomm@telecomm-VirtualBox:~$ sudo nano /etc/openvpn/client.conf
  404. telecomm@telecomm-VirtualBox:~$ ifconfig
  405. enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
  406. inet addr:192.168.69.136 Bcast:192.168.69.255 Mask:255.255.255.0
  407. inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
  408. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  409. RX packets:16290 errors:0 dropped:16 overruns:0 frame:0
  410. TX packets:2230 errors:0 dropped:0 overruns:0 carrier:0
  411. collisions:0 txqueuelen:1000
  412. RX bytes:5563248 (5.5 MB) TX bytes:321986 (321.9 KB)
  413.  
  414. enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
  415. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  416. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  417. TX packets:361 errors:0 dropped:0 overruns:0 carrier:0
  418. collisions:0 txqueuelen:1000
  419. RX bytes:0 (0.0 B) TX bytes:64682 (64.6 KB)
  420.  
  421. lo Link encap:Local Loopback
  422. inet addr:127.0.0.1 Mask:255.0.0.0
  423. inet6 addr: ::1/128 Scope:Host
  424. UP LOOPBACK RUNNING MTU:65536 Metric:1
  425. RX packets:959 errors:0 dropped:0 overruns:0 frame:0
  426. TX packets:959 errors:0 dropped:0 overruns:0 carrier:0
  427. collisions:0 txqueuelen:1
  428. RX bytes:124972 (124.9 KB) TX bytes:124972 (124.9 KB)
  429.  
  430. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client restart
  431. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
  432. ● openvpn@client.service - OpenVPN connection to client
  433. Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
  434. Active: active (running) since ma 2017-04-24 09:55:54 EEST; 8s ago
  435. Docs: man:openvpn(8)
  436. https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
  437. https://community.openvpn.net/openvpn/wiki/HOWTO
  438. Process: 4761 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/%i.conf --
  439. Main PID: 4765 (openvpn)
  440. CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
  441. └─4765 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/client.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/client.con
  442.  
  443. huhti 24 09:55:54 telecomm-VirtualBox systemd[1]: Starting OpenVPN connection to client...
  444. huhti 24 09:55:54 telecomm-VirtualBox ovpn-client[4761]: OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Feb 2 2016
  445. huhti 24 09:55:54 telecomm-VirtualBox ovpn-client[4761]: library versions: OpenSSL 1.0.2g-fips 1 Mar 2016, LZO 2.08
  446. huhti 24 09:55:54 telecomm-VirtualBox systemd[1]: openvpn@client.service: PID file /run/openvpn/client.pid not readable (yet?) after start: No such file or directory
  447. huhti 24 09:55:54 telecomm-VirtualBox ovpn-client[4765]: Socket Buffers: R=[212992->212992] S=[212992->212992]
  448. huhti 24 09:55:54 telecomm-VirtualBox ovpn-client[4765]: UDPv4 link local: [undef]
  449. huhti 24 09:55:54 telecomm-VirtualBox ovpn-client[4765]: UDPv4 link remote: [AF_INET]10.8.6.1:1194
  450. huhti 24 09:55:54 telecomm-VirtualBox systemd[1]: Started OpenVPN connection to client.
  451. ...skipping...
  452. ● openvpn@client.service - OpenVPN connection to client
  453. Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
  454. Active: active (running) since ma 2017-04-24 09:55:54 EEST; 8s ago
  455. Docs: man:openvpn(8)
  456. https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
  457. https://community.openvpn.net/openvpn/wiki/HOWTO
  458. Process: 4761 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/%i.conf --
  459. Main PID: 4765 (openvpn)
  460. CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
  461. └─4765 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/client.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/client.con
  462.  
  463. huhti 24 09:55:54 telecomm-VirtualBox systemd[1]: Starting OpenVPN connection to client...
  464. huhti 24 09:55:54 telecomm-VirtualBox ovpn-client[4761]: OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Feb 2 2016
  465. huhti 24 09:55:54 telecomm-VirtualBox ovpn-client[4761]: library versions: OpenSSL 1.0.2g-fips 1 Mar 2016, LZO 2.08
  466. huhti 24 09:55:54 telecomm-VirtualBox systemd[1]: openvpn@client.service: PID file /run/openvpn/client.pid not readable (yet?) after start: No such file or directory
  467. huhti 24 09:55:54 telecomm-VirtualBox ovpn-client[4765]: Socket Buffers: R=[212992->212992] S=[212992->212992]
  468. huhti 24 09:55:54 telecomm-VirtualBox ovpn-client[4765]: UDPv4 link local: [undef]
  469. huhti 24 09:55:54 telecomm-VirtualBox ovpn-client[4765]: UDPv4 link remote: [AF_INET]10.8.6.1:1194
  470. huhti 24 09:55:54 telecomm-VirtualBox systemd[1]: Started OpenVPN connection to client.
  471. ~
  472. ~
  473. ~
  474. ~
  475. ~
  476. ~
  477. ~
  478. ~
  479. ~
  480. ~
  481. ~
  482. ~
  483. ~
  484. ~
  485. ~
  486. ~
  487. ~
  488. ~
  489. ~
  490. ~
  491. ~
  492. ~
  493. ~
  494. ~
  495. ~
  496. ~
  497. ~
  498. Invalid mark letter (press RETURN)
  499. telecomm@telecomm-VirtualBox:~$ ifconfig
  500. enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
  501. inet addr:192.168.69.136 Bcast:192.168.69.255 Mask:255.255.255.0
  502. inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
  503. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  504. RX packets:16509 errors:0 dropped:16 overruns:0 frame:0
  505. TX packets:2236 errors:0 dropped:0 overruns:0 carrier:0
  506. collisions:0 txqueuelen:1000
  507. RX bytes:5581908 (5.5 MB) TX bytes:322387 (322.3 KB)
  508.  
  509. enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
  510. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  511. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  512. TX packets:361 errors:0 dropped:0 overruns:0 carrier:0
  513. collisions:0 txqueuelen:1000
  514. RX bytes:0 (0.0 B) TX bytes:64682 (64.6 KB)
  515.  
  516. lo Link encap:Local Loopback
  517. inet addr:127.0.0.1 Mask:255.0.0.0
  518. inet6 addr: ::1/128 Scope:Host
  519. UP LOOPBACK RUNNING MTU:65536 Metric:1
  520. RX packets:959 errors:0 dropped:0 overruns:0 frame:0
  521. TX packets:959 errors:0 dropped:0 overruns:0 carrier:0
  522. collisions:0 txqueuelen:1
  523. RX bytes:124972 (124.9 KB) TX bytes:124972 (124.9 KB)
  524.  
  525. telecomm@telecomm-VirtualBox:~$ ifconfig
  526. enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
  527. inet addr:192.168.69.136 Bcast:192.168.69.255 Mask:255.255.255.0
  528. inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
  529. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  530. RX packets:26122 errors:0 dropped:16 overruns:0 frame:0
  531. TX packets:3404 errors:0 dropped:0 overruns:0 carrier:0
  532. collisions:0 txqueuelen:1000
  533. RX bytes:9556342 (9.5 MB) TX bytes:538741 (538.7 KB)
  534.  
  535. enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
  536. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  537. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  538. TX packets:589 errors:0 dropped:0 overruns:0 carrier:0
  539. collisions:0 txqueuelen:1000
  540. RX bytes:0 (0.0 B) TX bytes:106890 (106.8 KB)
  541.  
  542. lo Link encap:Local Loopback
  543. inet addr:127.0.0.1 Mask:255.0.0.0
  544. inet6 addr: ::1/128 Scope:Host
  545. UP LOOPBACK RUNNING MTU:65536 Metric:1
  546. RX packets:1561 errors:0 dropped:0 overruns:0 frame:0
  547. TX packets:1561 errors:0 dropped:0 overruns:0 carrier:0
  548. collisions:0 txqueuelen:1
  549. RX bytes:208045 (208.0 KB) TX bytes:208045 (208.0 KB)
  550.  
  551. telecomm@telecomm-VirtualBox:~$ ifconfig
  552. enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
  553. inet addr:192.168.69.136 Bcast:192.168.69.255 Mask:255.255.255.0
  554. inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
  555. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  556. RX packets:26500 errors:0 dropped:16 overruns:0 frame:0
  557. TX packets:3443 errors:0 dropped:0 overruns:0 carrier:0
  558. collisions:0 txqueuelen:1000
  559. RX bytes:9591511 (9.5 MB) TX bytes:541570 (541.5 KB)
  560.  
  561. enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
  562. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  563. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  564. TX packets:589 errors:0 dropped:0 overruns:0 carrier:0
  565. collisions:0 txqueuelen:1000
  566. RX bytes:0 (0.0 B) TX bytes:106890 (106.8 KB)
  567.  
  568. lo Link encap:Local Loopback
  569. inet addr:127.0.0.1 Mask:255.0.0.0
  570. inet6 addr: ::1/128 Scope:Host
  571. UP LOOPBACK RUNNING MTU:65536 Metric:1
  572. RX packets:1569 errors:0 dropped:0 overruns:0 frame:0
  573. TX packets:1569 errors:0 dropped:0 overruns:0 carrier:0
  574. collisions:0 txqueuelen:1
  575. RX bytes:208807 (208.8 KB) TX bytes:208807 (208.8 KB)
  576.  
  577. telecomm@telecomm-VirtualBox:~$ ifconfig
  578. enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
  579. inet addr:192.168.69.136 Bcast:192.168.69.255 Mask:255.255.255.0
  580. inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
  581. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  582. RX packets:26520 errors:0 dropped:16 overruns:0 frame:0
  583. TX packets:3449 errors:0 dropped:0 overruns:0 carrier:0
  584. collisions:0 txqueuelen:1000
  585. RX bytes:9593241 (9.5 MB) TX bytes:542012 (542.0 KB)
  586.  
  587. enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
  588. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  589. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  590. TX packets:589 errors:0 dropped:0 overruns:0 carrier:0
  591. collisions:0 txqueuelen:1000
  592. RX bytes:0 (0.0 B) TX bytes:106890 (106.8 KB)
  593.  
  594. lo Link encap:Local Loopback
  595. inet addr:127.0.0.1 Mask:255.0.0.0
  596. inet6 addr: ::1/128 Scope:Host
  597. UP LOOPBACK RUNNING MTU:65536 Metric:1
  598. RX packets:1569 errors:0 dropped:0 overruns:0 frame:0
  599. TX packets:1569 errors:0 dropped:0 overruns:0 carrier:0
  600. collisions:0 txqueuelen:1
  601. RX bytes:208807 (208.8 KB) TX bytes:208807 (208.8 KB)
  602.  
  603. telecomm@telecomm-VirtualBox:~$ ifconfig
  604. enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
  605. inet addr:192.168.69.136 Bcast:192.168.69.255 Mask:255.255.255.0
  606. inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
  607. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  608. RX packets:26531 errors:0 dropped:16 overruns:0 frame:0
  609. TX packets:3450 errors:0 dropped:0 overruns:0 carrier:0
  610. collisions:0 txqueuelen:1000
  611. RX bytes:9594131 (9.5 MB) TX bytes:542078 (542.0 KB)
  612.  
  613. enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
  614. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  615. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  616. TX packets:589 errors:0 dropped:0 overruns:0 carrier:0
  617. collisions:0 txqueuelen:1000
  618. RX bytes:0 (0.0 B) TX bytes:106890 (106.8 KB)
  619.  
  620. lo Link encap:Local Loopback
  621. inet addr:127.0.0.1 Mask:255.0.0.0
  622. inet6 addr: ::1/128 Scope:Host
  623. UP LOOPBACK RUNNING MTU:65536 Metric:1
  624. RX packets:1569 errors:0 dropped:0 overruns:0 frame:0
  625. TX packets:1569 errors:0 dropped:0 overruns:0 carrier:0
  626. collisions:0 txqueuelen:1
  627. RX bytes:208807 (208.8 KB) TX bytes:208807 (208.8 KB)
  628.  
  629. telecomm@telecomm-VirtualBox:~$ ifconfig
  630. enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
  631. inet addr:192.168.69.136 Bcast:192.168.69.255 Mask:255.255.255.0
  632. inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
  633. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  634. RX packets:26535 errors:0 dropped:16 overruns:0 frame:0
  635. TX packets:3450 errors:0 dropped:0 overruns:0 carrier:0
  636. collisions:0 txqueuelen:1000
  637. RX bytes:9594499 (9.5 MB) TX bytes:542078 (542.0 KB)
  638.  
  639. enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
  640. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  641. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  642. TX packets:589 errors:0 dropped:0 overruns:0 carrier:0
  643. collisions:0 txqueuelen:1000
  644. RX bytes:0 (0.0 B) TX bytes:106890 (106.8 KB)
  645.  
  646. lo Link encap:Local Loopback
  647. inet addr:127.0.0.1 Mask:255.0.0.0
  648. inet6 addr: ::1/128 Scope:Host
  649. UP LOOPBACK RUNNING MTU:65536 Metric:1
  650. RX packets:1569 errors:0 dropped:0 overruns:0 frame:0
  651. TX packets:1569 errors:0 dropped:0 overruns:0 carrier:0
  652. collisions:0 txqueuelen:1
  653. RX bytes:208807 (208.8 KB) TX bytes:208807 (208.8 KB)
  654.  
  655. telecomm@telecomm-VirtualBox:~$ ifconfig
  656. enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
  657. inet addr:192.168.69.136 Bcast:192.168.69.255 Mask:255.255.255.0
  658. inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
  659. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  660. RX packets:26542 errors:0 dropped:16 overruns:0 frame:0
  661. TX packets:3450 errors:0 dropped:0 overruns:0 carrier:0
  662. collisions:0 txqueuelen:1000
  663. RX bytes:9595111 (9.5 MB) TX bytes:542078 (542.0 KB)
  664.  
  665. enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
  666. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  667. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  668. TX packets:589 errors:0 dropped:0 overruns:0 carrier:0
  669. collisions:0 txqueuelen:1000
  670. RX bytes:0 (0.0 B) TX bytes:106890 (106.8 KB)
  671.  
  672. lo Link encap:Local Loopback
  673. inet addr:127.0.0.1 Mask:255.0.0.0
  674. inet6 addr: ::1/128 Scope:Host
  675. UP LOOPBACK RUNNING MTU:65536 Metric:1
  676. RX packets:1569 errors:0 dropped:0 overruns:0 frame:0
  677. TX packets:1569 errors:0 dropped:0 overruns:0 carrier:0
  678. collisions:0 txqueuelen:1
  679. RX bytes:208807 (208.8 KB) TX bytes:208807 (208.8 KB)
  680.  
  681. telecomm@telecomm-VirtualBox:~$ ifconfig
  682. enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
  683. inet addr:192.168.69.136 Bcast:192.168.69.255 Mask:255.255.255.0
  684. inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
  685. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  686. RX packets:26553 errors:0 dropped:16 overruns:0 frame:0
  687. TX packets:3450 errors:0 dropped:0 overruns:0 carrier:0
  688. collisions:0 txqueuelen:1000
  689. RX bytes:9596027 (9.5 MB) TX bytes:542078 (542.0 KB)
  690.  
  691. enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
  692. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  693. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  694. TX packets:589 errors:0 dropped:0 overruns:0 carrier:0
  695. collisions:0 txqueuelen:1000
  696. RX bytes:0 (0.0 B) TX bytes:106890 (106.8 KB)
  697.  
  698. lo Link encap:Local Loopback
  699. inet addr:127.0.0.1 Mask:255.0.0.0
  700. inet6 addr: ::1/128 Scope:Host
  701. UP LOOPBACK RUNNING MTU:65536 Metric:1
  702. RX packets:1569 errors:0 dropped:0 overruns:0 frame:0
  703. TX packets:1569 errors:0 dropped:0 overruns:0 carrier:0
  704. collisions:0 txqueuelen:1
  705. RX bytes:208807 (208.8 KB) TX bytes:208807 (208.8 KB)
  706.  
  707. telecomm@telecomm-VirtualBox:~$ ifconfig
  708. enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
  709. inet addr:192.168.69.136 Bcast:192.168.69.255 Mask:255.255.255.0
  710. inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
  711. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  712. RX packets:26564 errors:0 dropped:16 overruns:0 frame:0
  713. TX packets:3450 errors:0 dropped:0 overruns:0 carrier:0
  714. collisions:0 txqueuelen:1000
  715. RX bytes:9597029 (9.5 MB) TX bytes:542078 (542.0 KB)
  716.  
  717. enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
  718. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  719. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  720. TX packets:589 errors:0 dropped:0 overruns:0 carrier:0
  721. collisions:0 txqueuelen:1000
  722. RX bytes:0 (0.0 B) TX bytes:106890 (106.8 KB)
  723.  
  724. lo Link encap:Local Loopback
  725. inet addr:127.0.0.1 Mask:255.0.0.0
  726. inet6 addr: ::1/128 Scope:Host
  727. UP LOOPBACK RUNNING MTU:65536 Metric:1
  728. RX packets:1569 errors:0 dropped:0 overruns:0 frame:0
  729. TX packets:1569 errors:0 dropped:0 overruns:0 carrier:0
  730. collisions:0 txqueuelen:1
  731. RX bytes:208807 (208.8 KB) TX bytes:208807 (208.8 KB)
  732.  
  733. telecomm@telecomm-VirtualBox:~$ ifconfig
  734. enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
  735. inet addr:10.8.6.3 Bcast:10.8.6.255 Mask:255.255.255.0
  736. inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
  737. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  738. RX packets:26701 errors:0 dropped:24 overruns:0 frame:0
  739. TX packets:3508 errors:0 dropped:0 overruns:0 carrier:0
  740. collisions:0 txqueuelen:1000
  741. RX bytes:9610932 (9.6 MB) TX bytes:549448 (549.4 KB)
  742.  
  743. enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
  744. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  745. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  746. TX packets:589 errors:0 dropped:0 overruns:0 carrier:0
  747. collisions:0 txqueuelen:1000
  748. RX bytes:0 (0.0 B) TX bytes:106890 (106.8 KB)
  749.  
  750. lo Link encap:Local Loopback
  751. inet addr:127.0.0.1 Mask:255.0.0.0
  752. inet6 addr: ::1/128 Scope:Host
  753. UP LOOPBACK RUNNING MTU:65536 Metric:1
  754. RX packets:1696 errors:0 dropped:0 overruns:0 frame:0
  755. TX packets:1696 errors:0 dropped:0 overruns:0 carrier:0
  756. collisions:0 txqueuelen:1
  757. RX bytes:217615 (217.6 KB) TX bytes:217615 (217.6 KB)
  758.  
  759. telecomm@telecomm-VirtualBox:~$ pin
  760. pinentry pinentry-gnome3 pinentry-x11 ping ping6 pinky
  761. telecomm@telecomm-VirtualBox:~$ ping 10.8.6.1
  762. PING 10.8.6.1 (10.8.6.1) 56(84) bytes of data.
  763. From 10.8.6.3 icmp_seq=1 Destination Host Unreachable
  764. From 10.8.6.3 icmp_seq=2 Destination Host Unreachable
  765. From 10.8.6.3 icmp_seq=3 Destination Host Unreachable
  766. From 10.8.6.3 icmp_seq=4 Destination Host Unreachable
  767. From 10.8.6.3 icmp_seq=5 Destination Host Unreachable
  768. From 10.8.6.3 icmp_seq=6 Destination Host Unreachable
  769. From 10.8.6.3 icmp_seq=7 Destination Host Unreachable
  770. ^C
  771. --- 10.8.6.1 ping statistics ---
  772. 8 packets transmitted, 0 received, +7 errors, 100% packet loss, time 6999ms
  773. pipe 4
  774. telecomm@telecomm-VirtualBox:~$ sudo nano /etc/openvpn/client.conf
  775. [sudo] password for telecomm:
  776. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client restart
  777. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
  778. ● openvpn@client.service - OpenVPN connection to client
  779. Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
  780. Active: active (running) since ma 2017-04-24 10:19:50 EEST; 3s ago
  781. Docs: man:openvpn(8)
  782. https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
  783. https://community.openvpn.net/openvpn/wiki/HOWTO
  784. Process: 5659 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/%i.conf --
  785. Main PID: 5663 (openvpn)
  786. CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
  787. └─5663 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/client.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/client.con
  788.  
  789. huhti 24 10:19:50 telecomm-VirtualBox systemd[1]: Starting OpenVPN connection to client...
  790. huhti 24 10:19:50 telecomm-VirtualBox ovpn-client[5659]: OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Feb 2 2016
  791. huhti 24 10:19:50 telecomm-VirtualBox ovpn-client[5659]: library versions: OpenSSL 1.0.2g-fips 1 Mar 2016, LZO 2.08
  792. huhti 24 10:19:50 telecomm-VirtualBox systemd[1]: openvpn@client.service: PID file /run/openvpn/client.pid not readable (yet?) after start: No such file or directory
  793. huhti 24 10:19:50 telecomm-VirtualBox ovpn-client[5663]: Socket Buffers: R=[212992->212992] S=[212992->212992]
  794. huhti 24 10:19:50 telecomm-VirtualBox ovpn-client[5663]: UDPv4 link local: [undef]
  795. huhti 24 10:19:50 telecomm-VirtualBox ovpn-client[5663]: UDPv4 link remote: [AF_INET]10.8.6.1:9999
  796. huhti 24 10:19:50 telecomm-VirtualBox systemd[1]: Started OpenVPN connection to client.
  797. ...skipping...
  798. ● openvpn@client.service - OpenVPN connection to client
  799. Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
  800. Active: active (running) since ma 2017-04-24 10:19:50 EEST; 3s ago
  801. Docs: man:openvpn(8)
  802. https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
  803. https://community.openvpn.net/openvpn/wiki/HOWTO
  804. Process: 5659 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/%i.conf --
  805. Main PID: 5663 (openvpn)
  806. CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
  807. └─5663 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/client.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/client.con
  808.  
  809. huhti 24 10:19:50 telecomm-VirtualBox systemd[1]: Starting OpenVPN connection to client...
  810. huhti 24 10:19:50 telecomm-VirtualBox ovpn-client[5659]: OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Feb 2 2016
  811. huhti 24 10:19:50 telecomm-VirtualBox ovpn-client[5659]: library versions: OpenSSL 1.0.2g-fips 1 Mar 2016, LZO 2.08
  812. huhti 24 10:19:50 telecomm-VirtualBox systemd[1]: openvpn@client.service: PID file /run/openvpn/client.pid not readable (yet?) after start: No such file or directory
  813. huhti 24 10:19:50 telecomm-VirtualBox ovpn-client[5663]: Socket Buffers: R=[212992->212992] S=[212992->212992]
  814. huhti 24 10:19:50 telecomm-VirtualBox ovpn-client[5663]: UDPv4 link local: [undef]
  815. huhti 24 10:19:50 telecomm-VirtualBox ovpn-client[5663]: UDPv4 link remote: [AF_INET]10.8.6.1:9999
  816. huhti 24 10:19:50 telecomm-VirtualBox systemd[1]: Started OpenVPN connection to client.
  817. ~
  818. ~
  819. ~
  820. ~
  821. ~
  822. ~
  823. ~
  824. ~
  825. ~
  826. ~
  827. ~
  828. ~
  829. ~
  830. ~
  831. ~
  832. ~
  833. ~
  834. ~
  835. ~
  836. ~
  837. ~
  838. ~
  839. ~
  840. ~
  841. ~
  842. ~
  843. ~
  844. ^X
  845. telecomm@telecomm-VirtualBox:~$ ifconfig
  846. enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
  847. inet addr:10.8.6.3 Bcast:10.8.6.3 Mask:255.255.255.255
  848. inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
  849. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  850. RX packets:33673 errors:0 dropped:456 overruns:0 frame:0
  851. TX packets:3978 errors:0 dropped:0 overruns:0 carrier:0
  852. collisions:0 txqueuelen:1000
  853. RX bytes:10275849 (10.2 MB) TX bytes:604940 (604.9 KB)
  854.  
  855. enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
  856. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  857. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  858. TX packets:706 errors:0 dropped:0 overruns:0 carrier:0
  859. collisions:0 txqueuelen:1000
  860. RX bytes:0 (0.0 B) TX bytes:129020 (129.0 KB)
  861.  
  862. lo Link encap:Local Loopback
  863. inet addr:127.0.0.1 Mask:255.0.0.0
  864. inet6 addr: ::1/128 Scope:Host
  865. UP LOOPBACK RUNNING MTU:65536 Metric:1
  866. RX packets:2852 errors:0 dropped:0 overruns:0 frame:0
  867. TX packets:2852 errors:0 dropped:0 overruns:0 carrier:0
  868. collisions:0 txqueuelen:1
  869. RX bytes:298526 (298.5 KB) TX bytes:298526 (298.5 KB)
  870.  
  871. telecomm@telecomm-VirtualBox:~$ sudo nano /etc/openvpn/client.conf
  872. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client restart
  873. telecomm@telecomm-VirtualBox:~$ ifconfig
  874. enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
  875. inet addr:10.8.6.3 Bcast:10.8.6.3 Mask:255.255.255.255
  876. inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
  877. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  878. RX packets:36955 errors:0 dropped:796 overruns:0 frame:0
  879. TX packets:4049 errors:0 dropped:0 overruns:0 carrier:0
  880. collisions:0 txqueuelen:1000
  881. RX bytes:10573028 (10.5 MB) TX bytes:609660 (609.6 KB)
  882.  
  883. enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
  884. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  885. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  886. TX packets:825 errors:0 dropped:0 overruns:0 carrier:0
  887. collisions:0 txqueuelen:1000
  888. RX bytes:0 (0.0 B) TX bytes:151834 (151.8 KB)
  889.  
  890. lo Link encap:Local Loopback
  891. inet addr:127.0.0.1 Mask:255.0.0.0
  892. inet6 addr: ::1/128 Scope:Host
  893. UP LOOPBACK RUNNING MTU:65536 Metric:1
  894. RX packets:3472 errors:0 dropped:0 overruns:0 frame:0
  895. TX packets:3472 errors:0 dropped:0 overruns:0 carrier:0
  896. collisions:0 txqueuelen:1
  897. RX bytes:336790 (336.7 KB) TX bytes:336790 (336.7 KB)
  898.  
  899. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
  900. ● openvpn@client.service - OpenVPN connection to client
  901. Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
  902. Active: active (running) since ma 2017-04-24 10:25:50 EEST; 53s ago
  903. Docs: man:openvpn(8)
  904. https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
  905. https://community.openvpn.net/openvpn/wiki/HOWTO
  906. Process: 5750 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/%i.conf --
  907. Main PID: 5754 (openvpn)
  908. CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
  909. └─5754 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/client.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/client.con
  910.  
  911. huhti 24 10:25:50 telecomm-VirtualBox systemd[1]: Starting OpenVPN connection to client...
  912. huhti 24 10:25:50 telecomm-VirtualBox ovpn-client[5750]: OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Feb 2 2016
  913. huhti 24 10:25:50 telecomm-VirtualBox ovpn-client[5750]: library versions: OpenSSL 1.0.2g-fips 1 Mar 2016, LZO 2.08
  914. huhti 24 10:25:50 telecomm-VirtualBox systemd[1]: openvpn@client.service: PID file /run/openvpn/client.pid not readable (yet?) after start: No such file or directory
  915. huhti 24 10:25:50 telecomm-VirtualBox ovpn-client[5754]: Socket Buffers: R=[212992->212992] S=[212992->212992]
  916. huhti 24 10:25:50 telecomm-VirtualBox ovpn-client[5754]: UDPv4 link local: [undef]
  917. huhti 24 10:25:50 telecomm-VirtualBox ovpn-client[5754]: UDPv4 link remote: [AF_INET]10.8.6.0:1194
  918. huhti 24 10:25:50 telecomm-VirtualBox systemd[1]: Started OpenVPN connection to client.
  919. lines 1-19/19 (END)
  920. telecomm@telecomm-VirtualBox:~$ client
  921. No command 'client' found, did you mean:
  922. Command 'jclient' from package 'julius' (multiverse)
  923. client: command not found
  924. telecomm@telecomm-VirtualBox:~$ ^C
  925. telecomm@telecomm-VirtualBox:~$ client
  926. No command 'client' found, did you mean:
  927. Command 'jclient' from package 'julius' (multiverse)
  928. client: command not found
  929. telecomm@telecomm-VirtualBox:~$ sudo gedit /etc/openvpn/client1.crt
  930. [sudo] password for telecomm:
  931.  
  932. ** (gedit:6289): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-position not supported
  933. telecomm@telecomm-VirtualBox:~$ sudo gedit /etc/openvpn/client.conf
  934.  
  935. ** (gedit:6301): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-enabled not supported
  936.  
  937. ** (gedit:6301): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
  938.  
  939. ** (gedit:6301): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-position not supported
  940. telecomm@telecomm-VirtualBox:~$ sudo gedit /etc/openvpn/client.conf
  941.  
  942. (gedit:6314): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
  943.  
  944. ** (gedit:6314): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-position not supported
  945. telecomm@telecomm-VirtualBox:~$ sudo service ioenvpn@client start
  946. Failed to start ioenvpn@client.service: Unit ioenvpn@client.service not found.
  947. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client start
  948. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
  949. ● openvpn@client.service - OpenVPN connection to client
  950. Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
  951. Active: active (running) since ma 2017-04-24 10:25:50 EEST; 24min ago
  952. Docs: man:openvpn(8)
  953. https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
  954. https://community.openvpn.net/openvpn/wiki/HOWTO
  955. Process: 5750 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/%i.conf --writepid /ru
  956. Main PID: 5754 (openvpn)
  957. CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
  958. └─5754 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/client.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/client.conf --writepid
  959.  
  960. huhti 24 10:48:35 telecomm-VirtualBox ovpn-client[5754]: UDPv4 link local: [undef]
  961. huhti 24 10:48:35 telecomm-VirtualBox ovpn-client[5754]: UDPv4 link remote: [AF_INET]10.8.6.0:1194
  962. huhti 24 10:49:35 telecomm-VirtualBox ovpn-client[5754]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
  963. huhti 24 10:49:35 telecomm-VirtualBox ovpn-client[5754]: TLS Error: TLS handshake failed
  964. huhti 24 10:49:35 telecomm-VirtualBox ovpn-client[5754]: SIGUSR1[soft,tls-error] received, process restarting
  965. huhti 24 10:49:35 telecomm-VirtualBox ovpn-client[5754]: Restart pause, 2 second(s)
  966. huhti 24 10:49:37 telecomm-VirtualBox ovpn-client[5754]: Socket Buffers: R=[212992->212992] S=[212992->212992]
  967. huhti 24 10:49:37 telecomm-VirtualBox ovpn-client[5754]: UDPv4 link local: [undef]
  968. huhti 24 10:49:37 telecomm-VirtualBox ovpn-client[5754]: UDPv4 link remote: [AF_INET]10.8.6.0:1194
  969. huhti 24 10:49:52 telecomm-VirtualBox systemd[1]: Started OpenVPN connection to client.
  970. lines 1-21/21 (END)
  971. telecomm@telecomm-VirtualBox:~$ sudo gedit /etc/openvpn/client.conf
  972.  
  973. (gedit:6392): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
  974.  
  975. ** (gedit:6392): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-enabled not supported
  976.  
  977. ** (gedit:6392): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
  978.  
  979. ** (gedit:6392): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-position not supported
  980. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
  981. ● openvpn@client.service - OpenVPN connection to client
  982. Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
  983. Active: active (running) since ma 2017-04-24 10:25:50 EEST; 24min ago
  984. Docs: man:openvpn(8)
  985. https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
  986. https://community.openvpn.net/openvpn/wiki/HOWTO
  987. Process: 5750 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/%i.conf --writepid /ru
  988. Main PID: 5754 (openvpn)
  989. CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
  990. └─5754 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/client.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/client.conf --writepid
  991.  
  992. huhti 24 10:49:37 telecomm-VirtualBox ovpn-client[5754]: UDPv4 link local: [undef]
  993. huhti 24 10:49:37 telecomm-VirtualBox ovpn-client[5754]: UDPv4 link remote: [AF_INET]10.8.6.0:1194
  994. huhti 24 10:49:52 telecomm-VirtualBox systemd[1]: Started OpenVPN connection to client.
  995. huhti 24 10:50:37 telecomm-VirtualBox ovpn-client[5754]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
  996. huhti 24 10:50:37 telecomm-VirtualBox ovpn-client[5754]: TLS Error: TLS handshake failed
  997. huhti 24 10:50:37 telecomm-VirtualBox ovpn-client[5754]: SIGUSR1[soft,tls-error] received, process restarting
  998. huhti 24 10:50:37 telecomm-VirtualBox ovpn-client[5754]: Restart pause, 2 second(s)
  999. huhti 24 10:50:39 telecomm-VirtualBox ovpn-client[5754]: Socket Buffers: R=[212992->212992] S=[212992->212992]
  1000. huhti 24 10:50:39 telecomm-VirtualBox ovpn-client[5754]: UDPv4 link local: [undef]
  1001. huhti 24 10:50:39 telecomm-VirtualBox ovpn-client[5754]: UDPv4 link remote: [AF_INET]10.8.6.0:1194
  1002. lines 1-21/21 (END)
  1003. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client start
  1004. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
  1005. ● openvpn@client.service - OpenVPN connection to client
  1006. Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
  1007. Active: active (running) since ma 2017-04-24 10:25:50 EEST; 25min ago
  1008. Docs: man:openvpn(8)
  1009. https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
  1010. https://community.openvpn.net/openvpn/wiki/HOWTO
  1011. Process: 5750 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/%i.conf --writepid /ru
  1012. Main PID: 5754 (openvpn)
  1013. CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
  1014. └─5754 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/client.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/client.conf --writepid
  1015.  
  1016. huhti 24 10:49:37 telecomm-VirtualBox ovpn-client[5754]: UDPv4 link remote: [AF_INET]10.8.6.0:1194
  1017. huhti 24 10:49:52 telecomm-VirtualBox systemd[1]: Started OpenVPN connection to client.
  1018. huhti 24 10:50:37 telecomm-VirtualBox ovpn-client[5754]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
  1019. huhti 24 10:50:37 telecomm-VirtualBox ovpn-client[5754]: TLS Error: TLS handshake failed
  1020. huhti 24 10:50:37 telecomm-VirtualBox ovpn-client[5754]: SIGUSR1[soft,tls-error] received, process restarting
  1021. huhti 24 10:50:37 telecomm-VirtualBox ovpn-client[5754]: Restart pause, 2 second(s)
  1022. huhti 24 10:50:39 telecomm-VirtualBox ovpn-client[5754]: Socket Buffers: R=[212992->212992] S=[212992->212992]
  1023. huhti 24 10:50:39 telecomm-VirtualBox ovpn-client[5754]: UDPv4 link local: [undef]
  1024. huhti 24 10:50:39 telecomm-VirtualBox ovpn-client[5754]: UDPv4 link remote: [AF_INET]10.8.6.0:1194
  1025. huhti 24 10:50:49 telecomm-VirtualBox systemd[1]: Started OpenVPN connection to client.
  1026. lines 1-21/21 (END)
  1027. telecomm@telecomm-VirtualBox:~$ sudo gedit /etc/openvpn/client.conf
  1028.  
  1029. (gedit:6445): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
  1030.  
  1031. ** (gedit:6445): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-enabled not supported
  1032.  
  1033. ** (gedit:6445): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
  1034.  
  1035. ** (gedit:6445): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-position not supported
  1036. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client start
  1037. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client restart
  1038. Job for openvpn@client.service failed because the control process exited with error code. See "systemctl status openvpn@client.service" and "journalctl -xe" for details.
  1039. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
  1040. ● openvpn@client.service - OpenVPN connection to client
  1041. Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
  1042. Active: failed (Result: exit-code) since ma 2017-04-24 10:51:22 EEST; 4s ago
  1043. Docs: man:openvpn(8)
  1044. https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
  1045. https://community.openvpn.net/openvpn/wiki/HOWTO
  1046. Process: 6492 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/%i.conf --writepid /ru
  1047. Main PID: 5754 (code=exited, status=0/SUCCESS)
  1048.  
  1049. huhti 24 10:51:22 telecomm-VirtualBox systemd[1]: Stopped OpenVPN connection to client.
  1050. huhti 24 10:51:22 telecomm-VirtualBox systemd[1]: Starting OpenVPN connection to client...
  1051. huhti 24 10:51:22 telecomm-VirtualBox ovpn-client[6492]: Options error: --tls-auth fails with 'ta.key': No such file or directory
  1052. huhti 24 10:51:22 telecomm-VirtualBox ovpn-client[6492]: Options error: Please correct these errors.
  1053. huhti 24 10:51:22 telecomm-VirtualBox ovpn-client[6492]: Use --help for more information.
  1054. huhti 24 10:51:22 telecomm-VirtualBox systemd[1]: openvpn@client.service: Control process exited, code=exited status=1
  1055. huhti 24 10:51:22 telecomm-VirtualBox systemd[1]: Failed to start OpenVPN connection to client.
  1056. huhti 24 10:51:22 telecomm-VirtualBox systemd[1]: openvpn@client.service: Unit entered failed state.
  1057. huhti 24 10:51:22 telecomm-VirtualBox systemd[1]: openvpn@client.service: Failed with result 'exit-code'.
  1058. lines 1-18/18 (END)
  1059. [2]+ Stopped sudo service openvpn@client status
  1060. ^C^C
  1061. telecomm@telecomm-VirtualBox:~$ sudo gedit /etc/openvpn/client.conf
  1062.  
  1063. (gedit:6509): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
  1064.  
  1065. ** (gedit:6509): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-enabled not supported
  1066.  
  1067. ** (gedit:6509): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
  1068.  
  1069. ** (gedit:6509): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-position not supported
  1070. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client restart
  1071. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
  1072. ● openvpn@client.service - OpenVPN connection to client
  1073. Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
  1074. Active: active (running) since ma 2017-04-24 10:52:21 EEST; 1s ago
  1075. Docs: man:openvpn(8)
  1076. https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
  1077. https://community.openvpn.net/openvpn/wiki/HOWTO
  1078. Process: 6524 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/%i.conf --writepid /ru
  1079. Main PID: 6526 (openvpn)
  1080. CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
  1081. └─6526 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/client.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/client.conf --writepid
  1082.  
  1083. huhti 24 10:52:21 telecomm-VirtualBox systemd[1]: Starting OpenVPN connection to client...
  1084. huhti 24 10:52:21 telecomm-VirtualBox ovpn-client[6524]: OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Feb 2 2016
  1085. huhti 24 10:52:21 telecomm-VirtualBox ovpn-client[6524]: library versions: OpenSSL 1.0.2g-fips 1 Mar 2016, LZO 2.08
  1086. huhti 24 10:52:21 telecomm-VirtualBox systemd[1]: openvpn@client.service: PID file /run/openvpn/client.pid not readable (yet?) after start: No such file or directory
  1087. huhti 24 10:52:21 telecomm-VirtualBox ovpn-client[6526]: Socket Buffers: R=[212992->212992] S=[212992->212992]
  1088. huhti 24 10:52:21 telecomm-VirtualBox ovpn-client[6526]: UDPv4 link local: [undef]
  1089. huhti 24 10:52:21 telecomm-VirtualBox ovpn-client[6526]: UDPv4 link remote: [AF_INET]10.8.6.1:1194
  1090. huhti 24 10:52:21 telecomm-VirtualBox systemd[1]: Started OpenVPN connection to client.
  1091. ...skipping...
  1092. ● openvpn@client.service - OpenVPN connection to client
  1093. Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
  1094. Active: active (running) since ma 2017-04-24 10:52:21 EEST; 1s ago
  1095. Docs: man:openvpn(8)
  1096. https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
  1097. https://community.openvpn.net/openvpn/wiki/HOWTO
  1098. Process: 6524 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/%i.conf --writepid /ru
  1099. Main PID: 6526 (openvpn)
  1100. CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
  1101. └─6526 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/client.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/client.conf --writepid
  1102.  
  1103. huhti 24 10:52:21 telecomm-VirtualBox systemd[1]: Starting OpenVPN connection to client...
  1104. huhti 24 10:52:21 telecomm-VirtualBox ovpn-client[6524]: OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Feb 2 2016
  1105. huhti 24 10:52:21 telecomm-VirtualBox ovpn-client[6524]: library versions: OpenSSL 1.0.2g-fips 1 Mar 2016, LZO 2.08
  1106. huhti 24 10:52:21 telecomm-VirtualBox systemd[1]: openvpn@client.service: PID file /run/openvpn/client.pid not readable (yet?) after start: No such file or directory
  1107. huhti 24 10:52:21 telecomm-VirtualBox ovpn-client[6526]: Socket Buffers: R=[212992->212992] S=[212992->212992]
  1108. huhti 24 10:52:21 telecomm-VirtualBox ovpn-client[6526]: UDPv4 link local: [undef]
  1109. huhti 24 10:52:21 telecomm-VirtualBox ovpn-client[6526]: UDPv4 link remote: [AF_INET]10.8.6.1:1194
  1110. huhti 24 10:52:21 telecomm-VirtualBox systemd[1]: Started OpenVPN connection to client.
  1111. ~
  1112. ~
  1113. ~
  1114. ~
  1115. ~
  1116. ~
  1117. ~
  1118. ~
  1119. ~
  1120. ~
  1121. ~
  1122. ~
  1123. ~
  1124. ~
  1125. ~
  1126. ~
  1127. ~
  1128. ~
  1129. ~
  1130. ~
  1131. ~
  1132. ~
  1133. ~
  1134. ~
  1135. ~
  1136. ~
  1137. ~
  1138. ~
  1139. ~
  1140. ~
  1141. ~
  1142. ~
  1143. ~
  1144. ~
  1145. No previous regular expression (press RETURN)
  1146. telecomm@telecomm-VirtualBox:~$ ifconfig
  1147. enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
  1148. inet addr:192.168.69.136 Bcast:192.168.69.255 Mask:255.255.255.0
  1149. inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
  1150. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  1151. RX packets:65948 errors:0 dropped:916 overruns:0 frame:0
  1152. TX packets:10967 errors:0 dropped:0 overruns:0 carrier:0
  1153. collisions:0 txqueuelen:1000
  1154. RX bytes:25974955 (25.9 MB) TX bytes:1851547 (1.8 MB)
  1155.  
  1156. enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
  1157. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  1158. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  1159. TX packets:1200 errors:0 dropped:0 overruns:0 carrier:0
  1160. collisions:0 txqueuelen:1000
  1161. RX bytes:0 (0.0 B) TX bytes:221520 (221.5 KB)
  1162.  
  1163. lo Link encap:Local Loopback
  1164. inet addr:127.0.0.1 Mask:255.0.0.0
  1165. inet6 addr: ::1/128 Scope:Host
  1166. UP LOOPBACK RUNNING MTU:65536 Metric:1
  1167. RX packets:5435 errors:0 dropped:0 overruns:0 frame:0
  1168. TX packets:5435 errors:0 dropped:0 overruns:0 carrier:0
  1169. collisions:0 txqueuelen:1
  1170. RX bytes:564415 (564.4 KB) TX bytes:564415 (564.4 KB)
  1171.  
  1172. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
  1173. ● openvpn@client.service - OpenVPN connection to client
  1174. Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
  1175. Active: active (running) since ma 2017-04-24 10:52:21 EEST; 2min 48s ago
  1176. Docs: man:openvpn(8)
  1177. https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
  1178. https://community.openvpn.net/openvpn/wiki/HOWTO
  1179. Process: 6524 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/%i.conf --writepid /ru
  1180. Main PID: 6526 (openvpn)
  1181. CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
  1182. └─6526 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/client.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/client.conf --writepid
  1183.  
  1184. huhti 24 10:53:24 telecomm-VirtualBox ovpn-client[6526]: Socket Buffers: R=[212992->212992] S=[212992->212992]
  1185. huhti 24 10:53:24 telecomm-VirtualBox ovpn-client[6526]: UDPv4 link local: [undef]
  1186. huhti 24 10:53:24 telecomm-VirtualBox ovpn-client[6526]: UDPv4 link remote: [AF_INET]10.8.6.1:1194
  1187. huhti 24 10:54:24 telecomm-VirtualBox ovpn-client[6526]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
  1188. huhti 24 10:54:24 telecomm-VirtualBox ovpn-client[6526]: TLS Error: TLS handshake failed
  1189. huhti 24 10:54:24 telecomm-VirtualBox ovpn-client[6526]: SIGUSR1[soft,tls-error] received, process restarting
  1190. huhti 24 10:54:24 telecomm-VirtualBox ovpn-client[6526]: Restart pause, 2 second(s)
  1191. huhti 24 10:54:26 telecomm-VirtualBox ovpn-client[6526]: Socket Buffers: R=[212992->212992] S=[212992->212992]
  1192. huhti 24 10:54:26 telecomm-VirtualBox ovpn-client[6526]: UDPv4 link local: [undef]
  1193. huhti 24 10:54:26 telecomm-VirtualBox ovpn-client[6526]: UDPv4 link remote: [AF_INET]10.8.6.1:1194
  1194. ...skipping...
  1195. ● openvpn@client.service - OpenVPN connection to client
  1196. Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
  1197. Active: active (running) since ma 2017-04-24 10:52:21 EEST; 2min 48s ago
  1198. Docs: man:openvpn(8)
  1199. https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
  1200. https://community.openvpn.net/openvpn/wiki/HOWTO
  1201. Process: 6524 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/%i.conf --writepid /ru
  1202. Main PID: 6526 (openvpn)
  1203. CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
  1204. └─6526 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/client.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/client.conf --writepid
  1205.  
  1206. huhti 24 10:53:24 telecomm-VirtualBox ovpn-client[6526]: Socket Buffers: R=[212992->212992] S=[212992->212992]
  1207. huhti 24 10:53:24 telecomm-VirtualBox ovpn-client[6526]: UDPv4 link local: [undef]
  1208. huhti 24 10:53:24 telecomm-VirtualBox ovpn-client[6526]: UDPv4 link remote: [AF_INET]10.8.6.1:1194
  1209. huhti 24 10:54:24 telecomm-VirtualBox ovpn-client[6526]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
  1210. huhti 24 10:54:24 telecomm-VirtualBox ovpn-client[6526]: TLS Error: TLS handshake failed
  1211. huhti 24 10:54:24 telecomm-VirtualBox ovpn-client[6526]: SIGUSR1[soft,tls-error] received, process restarting
  1212. huhti 24 10:54:24 telecomm-VirtualBox ovpn-client[6526]: Restart pause, 2 second(s)
  1213. huhti 24 10:54:26 telecomm-VirtualBox ovpn-client[6526]: Socket Buffers: R=[212992->212992] S=[212992->212992]
  1214. huhti 24 10:54:26 telecomm-VirtualBox ovpn-client[6526]: UDPv4 link local: [undef]
  1215. huhti 24 10:54:26 telecomm-VirtualBox ovpn-client[6526]: UDPv4 link remote: [AF_INET]10.8.6.1:1194
  1216. ~
  1217. ~
  1218. ~
  1219. ~
  1220. ~
  1221. ~
  1222. ~
  1223. ~
  1224. ~
  1225. ~
  1226. ~
  1227. ~
  1228. ~
  1229. ~
  1230. ~
  1231. ~
  1232. ~
  1233. ~
  1234. ~
  1235. ~
  1236. ~
  1237. ~
  1238. ~
  1239. ~
  1240. ~
  1241. ~
  1242. ~
  1243. ~
  1244. ~
  1245. ~
  1246. ~
  1247. ~
  1248. lines 1-21/21 (END)
  1249. telecomm@telecomm-VirtualBox:~$ sudo gedit /etc/openvpn/client.conf
  1250. ^[OA
  1251. (gedit:6595): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
  1252.  
  1253. ** (gedit:6595): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-enabled not supported
  1254.  
  1255. ** (gedit:6595): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
  1256. ^[OA^[OA^[OA^[OA^[OA^C
  1257. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client stop
  1258. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client start
  1259. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
  1260. ● openvpn@client.service - OpenVPN connection to client
  1261. Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
  1262. Active: active (running) since ma 2017-04-24 10:57:04 EEST; 3s ago
  1263. Docs: man:openvpn(8)
  1264. https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
  1265. https://community.openvpn.net/openvpn/wiki/HOWTO
  1266. Process: 6680 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/%i.conf --writepid /ru
  1267. Main PID: 6682 (openvpn)
  1268. CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
  1269. └─6682 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/client.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/client.conf --writepid
  1270.  
  1271. huhti 24 10:57:06 telecomm-VirtualBox ovpn-client[6682]: OPTIONS IMPORT: --ifconfig/up options modified
  1272. huhti 24 10:57:06 telecomm-VirtualBox ovpn-client[6682]: OPTIONS IMPORT: route options modified
  1273. huhti 24 10:57:06 telecomm-VirtualBox ovpn-client[6682]: ROUTE_GATEWAY 192.168.69.254/255.255.255.0 IFACE=enp0s3 HWADDR=08:00:27:03:d8:8c
  1274. huhti 24 10:57:06 telecomm-VirtualBox ovpn-client[6682]: TUN/TAP device tun0 opened
  1275. huhti 24 10:57:06 telecomm-VirtualBox ovpn-client[6682]: TUN/TAP TX queue length set to 100
  1276. huhti 24 10:57:06 telecomm-VirtualBox ovpn-client[6682]: do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
  1277. huhti 24 10:57:06 telecomm-VirtualBox ovpn-client[6682]: /sbin/ip link set dev tun0 up mtu 1500
  1278. huhti 24 10:57:06 telecomm-VirtualBox ovpn-client[6682]: /sbin/ip addr add dev tun0 local 10.8.6.6 peer 10.8.6.5
  1279. huhti 24 10:57:06 telecomm-VirtualBox ovpn-client[6682]: /sbin/ip route add 10.8.6.1/32 via 10.8.6.5
  1280. huhti 24 10:57:06 telecomm-VirtualBox ovpn-client[6682]: Initialization Sequence Completed
  1281. lines 1-21/21 (END)
  1282. telecomm@telecomm-VirtualBox:~$ ifconfig
  1283. enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
  1284. inet addr:192.168.69.136 Bcast:192.168.69.255 Mask:255.255.255.0
  1285. inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
  1286. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  1287. RX packets:68725 errors:0 dropped:916 overruns:0 frame:0
  1288. TX packets:11086 errors:0 dropped:0 overruns:0 carrier:0
  1289. collisions:0 txqueuelen:1000
  1290. RX bytes:26236131 (26.2 MB) TX bytes:1864006 (1.8 MB)
  1291.  
  1292. enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
  1293. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  1294. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  1295. TX packets:1316 errors:0 dropped:0 overruns:0 carrier:0
  1296. collisions:0 txqueuelen:1000
  1297. RX bytes:0 (0.0 B) TX bytes:243308 (243.3 KB)
  1298.  
  1299. lo Link encap:Local Loopback
  1300. inet addr:127.0.0.1 Mask:255.0.0.0
  1301. inet6 addr: ::1/128 Scope:Host
  1302. UP LOOPBACK RUNNING MTU:65536 Metric:1
  1303. RX packets:5578 errors:0 dropped:0 overruns:0 frame:0
  1304. TX packets:5578 errors:0 dropped:0 overruns:0 carrier:0
  1305. collisions:0 txqueuelen:1
  1306. RX bytes:582744 (582.7 KB) TX bytes:582744 (582.7 KB)
  1307.  
  1308. tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
  1309. inet addr:10.8.6.6 P-t-P:10.8.6.5 Mask:255.255.255.255
  1310. UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
  1311. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  1312. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  1313. collisions:0 txqueuelen:100
  1314. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
  1315.  
  1316. telecomm@telecomm-VirtualBox:~$ ping 10.8.6.1
  1317. PING 10.8.6.1 (10.8.6.1) 56(84) bytes of data.
  1318. ^C
  1319. --- 10.8.6.1 ping statistics ---
  1320. 57 packets transmitted, 0 received, 100% packet loss, time 56450ms
  1321.  
  1322. telecomm@telecomm-VirtualBox:~$ ping 10.8.6.1
  1323. PING 10.8.6.1 (10.8.6.1) 56(84) bytes of data.
  1324. ^C
  1325. --- 10.8.6.1 ping statistics ---
  1326. 8 packets transmitted, 0 received, 100% packet loss, time 7057ms
  1327.  
  1328. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client stop
  1329. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client start
  1330. telecomm@telecomm-VirtualBox:~$ ping 10.8.6.1
  1331. PING 10.8.6.1 (10.8.6.1) 56(84) bytes of data.
  1332. ^C
  1333. --- 10.8.6.1 ping statistics ---
  1334. 7 packets transmitted, 0 received, 100% packet loss, time 6047ms
  1335.  
  1336. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
  1337. ● openvpn@client.service - OpenVPN connection to client
  1338. Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
  1339. Active: active (running) since ma 2017-04-24 10:59:26 EEST; 16s ago
  1340. Docs: man:openvpn(8)
  1341. https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
  1342. https://community.openvpn.net/openvpn/wiki/HOWTO
  1343. Process: 6877 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/%i.conf --writepid /ru
  1344. Main PID: 6879 (openvpn)
  1345. CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
  1346. └─6879 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/client.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/client.conf --writepid
  1347.  
  1348. huhti 24 10:59:29 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
  1349. huhti 24 10:59:30 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
  1350. huhti 24 10:59:31 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
  1351. huhti 24 10:59:32 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
  1352. huhti 24 10:59:33 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
  1353. huhti 24 10:59:34 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
  1354. huhti 24 10:59:35 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
  1355. huhti 24 10:59:36 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
  1356. huhti 24 10:59:37 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
  1357. huhti 24 10:59:38 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
  1358. lines 1-21/21 (END)
  1359.  
  1360.  
  1361.  
  1362.  
  1363.  
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396.  
  1397.  
  1398.  
  1399.  
  1400.  
  1401.  
  1402.  
  1403.  
  1404.  
  1405.  
  1406.  
  1407.  
  1408.  
  1409.  
  1410.  
  1411. ● openvpn@client.service - OpenVPN connection to client
  1412. Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
  1413. Active: active (running) since ma 2017-04-24 10:59:26 EEST; 16s ago
  1414. Docs: man:openvpn(8)
  1415. https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
  1416. https://community.openvpn.net/openvpn/wiki/HOWTO
  1417. Process: 6877 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/%i.conf --writepid /ru
  1418. Main PID: 6879 (openvpn)
  1419. CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
  1420. └─6879 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/client.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/client.conf --writepid
  1421.  
  1422. huhti 24 10:59:29 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
  1423. huhti 24 10:59:30 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
  1424. huhti 24 10:59:31 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
  1425. huhti 24 10:59:32 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
  1426. huhti 24 10:59:33 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
  1427. huhti 24 10:59:34 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
  1428. huhti 24 10:59:35 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
  1429. huhti 24 10:59:36 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
  1430. huhti 24 10:59:37 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
  1431. huhti 24 10:59:38 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
  1432. ~
  1433. ~
  1434. ~
  1435. ~
  1436. ~
  1437. ~
  1438. ~
  1439. ~
  1440. ~
  1441. ~
  1442. ~
  1443. ~
  1444. ~
  1445. ~
  1446. ~
  1447. ~
  1448. ~
  1449. ~
  1450. ~
  1451. ~
  1452. ~
  1453. ~
  1454. ~
  1455. ~
  1456. ~
  1457. ~
  1458. ~
  1459. ~
  1460. ~
  1461. ~
  1462. lines 1-21/21 (END)
  1463. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client restart
  1464. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
  1465. ● openvpn@client.service - OpenVPN connection to client
  1466. Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
  1467. Active: active (running) since ma 2017-04-24 11:02:05 EEST; 2s ago
  1468. Docs: man:openvpn(8)
  1469. https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
  1470. https://community.openvpn.net/openvpn/wiki/HOWTO
  1471. Process: 7036 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/%i.conf --writepid /ru
  1472. Main PID: 7058 (openvpn)
  1473. CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
  1474. └─7058 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/client.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/client.conf --writepid
  1475.  
  1476. huhti 24 11:02:08 telecomm-VirtualBox ovpn-client[7058]: OPTIONS IMPORT: --ifconfig/up options modified
  1477. huhti 24 11:02:08 telecomm-VirtualBox ovpn-client[7058]: OPTIONS IMPORT: route options modified
  1478. huhti 24 11:02:08 telecomm-VirtualBox ovpn-client[7058]: ROUTE_GATEWAY 192.168.69.254/255.255.255.0 IFACE=enp0s3 HWADDR=08:00:27:03:d8:8c
  1479. huhti 24 11:02:08 telecomm-VirtualBox ovpn-client[7058]: TUN/TAP device tun0 opened
  1480. huhti 24 11:02:08 telecomm-VirtualBox ovpn-client[7058]: TUN/TAP TX queue length set to 100
  1481. huhti 24 11:02:08 telecomm-VirtualBox ovpn-client[7058]: do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
  1482. huhti 24 11:02:08 telecomm-VirtualBox ovpn-client[7058]: /sbin/ip link set dev tun0 up mtu 1500
  1483. huhti 24 11:02:08 telecomm-VirtualBox ovpn-client[7058]: /sbin/ip addr add dev tun0 local 10.8.6.6 peer 10.8.6.5
  1484. huhti 24 11:02:08 telecomm-VirtualBox ovpn-client[7058]: /sbin/ip route add 10.8.6.1/32 via 10.8.6.5
  1485. huhti 24 11:02:08 telecomm-VirtualBox ovpn-client[7058]: Initialization Sequence Completed
  1486. lines 1-21/21 (END)
  1487. telecomm@telecomm-VirtualBox:~$
  1488. telecomm@telecomm-VirtualBox:~$
  1489. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
  1490. ● openvpn@client.service - OpenVPN connection to client
  1491. Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
  1492. Active: active (running) since ma 2017-04-24 11:02:05 EEST; 1min 15s ago
  1493. Docs: man:openvpn(8)
  1494. https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
  1495. https://community.openvpn.net/openvpn/wiki/HOWTO
  1496. Process: 7036 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/%i.conf --writepid /ru
  1497. Main PID: 7058 (openvpn)
  1498. CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
  1499. └─7058 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/client.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/client.conf --writepid
  1500.  
  1501. huhti 24 11:02:40 telecomm-VirtualBox ovpn-client[7058]: Authenticate/Decrypt packet error: cipher final failed
  1502. huhti 24 11:02:41 telecomm-VirtualBox ovpn-client[7058]: Authenticate/Decrypt packet error: cipher final failed
  1503. huhti 24 11:02:42 telecomm-VirtualBox ovpn-client[7058]: Authenticate/Decrypt packet error: cipher final failed
  1504. huhti 24 11:02:43 telecomm-VirtualBox ovpn-client[7058]: Authenticate/Decrypt packet error: cipher final failed
  1505. huhti 24 11:02:44 telecomm-VirtualBox ovpn-client[7058]: Authenticate/Decrypt packet error: cipher final failed
  1506. huhti 24 11:02:45 telecomm-VirtualBox ovpn-client[7058]: Authenticate/Decrypt packet error: cipher final failed
  1507. huhti 24 11:02:46 telecomm-VirtualBox ovpn-client[7058]: Authenticate/Decrypt packet error: cipher final failed
  1508. huhti 24 11:02:55 telecomm-VirtualBox ovpn-client[7058]: Authenticate/Decrypt packet error: cipher final failed
  1509. huhti 24 11:03:05 telecomm-VirtualBox ovpn-client[7058]: Authenticate/Decrypt packet error: cipher final failed
  1510. huhti 24 11:03:15 telecomm-VirtualBox ovpn-client[7058]: Authenticate/Decrypt packet error: cipher final failed
  1511. lines 1-21/21 (END)
  1512. telecomm@telecomm-VirtualBox:~$
  1513. telecomm@telecomm-VirtualBox:~$
  1514. telecomm@telecomm-VirtualBox:~$
  1515. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client restart
  1516. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
  1517. ● openvpn@client.service - OpenVPN connection to client
  1518. Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
  1519. Active: active (running) since ma 2017-04-24 11:03:27 EEST; 1s ago
  1520. Docs: man:openvpn(8)
  1521. https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
  1522. https://community.openvpn.net/openvpn/wiki/HOWTO
  1523. Process: 7188 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/%i.conf --writepid /ru
  1524. Main PID: 7209 (openvpn)
  1525. CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
  1526. └─7209 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/client.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/client.conf --writepid
  1527.  
  1528. huhti 24 11:03:27 telecomm-VirtualBox ovpn-client[7209]: WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1542', remote='link-mtu 1557'
  1529. huhti 24 11:03:27 telecomm-VirtualBox ovpn-client[7209]: WARNING: 'comp-lzo' is present in local config but missing in remote config, local='comp-lzo'
  1530. huhti 24 11:03:27 telecomm-VirtualBox ovpn-client[7209]: WARNING: 'cipher' is used inconsistently, local='cipher BF-CBC', remote='cipher AES-256-CBC'
  1531. huhti 24 11:03:27 telecomm-VirtualBox ovpn-client[7209]: WARNING: 'keysize' is used inconsistently, local='keysize 128', remote='keysize 256'
  1532. huhti 24 11:03:27 telecomm-VirtualBox ovpn-client[7209]: Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
  1533. huhti 24 11:03:27 telecomm-VirtualBox ovpn-client[7209]: Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
  1534. huhti 24 11:03:27 telecomm-VirtualBox ovpn-client[7209]: Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
  1535. huhti 24 11:03:27 telecomm-VirtualBox ovpn-client[7209]: Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
  1536. huhti 24 11:03:27 telecomm-VirtualBox ovpn-client[7209]: Control Channel: TLSv1.2, cipher TLSv1/SSLv3 DHE-RSA-AES256-GCM-SHA384, 2048 bit RSA
  1537. huhti 24 11:03:27 telecomm-VirtualBox ovpn-client[7209]: [team6server] Peer Connection Initiated with [AF_INET]192.168.69.56:1194
  1538. lines 1-21/21 (END)
  1539. telecomm@telecomm-VirtualBox:~$ ls /etv/openvpn
  1540. ls: cannot access '/etv/openvpn': No such file or directory
  1541. telecomm@telecomm-VirtualBox:~$ ls /etc/openvpn
  1542. ca.crt client1.crt client1.key client.conf update-resolv-conf
  1543. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client stop
  1544. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client start
  1545. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
  1546. ● openvpn@client.service - OpenVPN connection to client
  1547. Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: e
  1548. Active: active (running) since ma 2017-04-24 11:17:51 EEST; 4s ago
  1549. Docs: man:openvpn(8)
  1550. https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
  1551. https://community.openvpn.net/openvpn/wiki/HOWTO
  1552. Process: 7522 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/
  1553. Main PID: 7524 (openvpn)
  1554. CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
  1555. └─7524 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/clie
  1556.  
  1557. huhti 24 11:17:53 telecomm-VirtualBox ovpn-client[7524]: OPTIONS IMPORT: --ifconfig
  1558. huhti 24 11:17:53 telecomm-VirtualBox ovpn-client[7524]: OPTIONS IMPORT: route opti
  1559. huhti 24 11:17:53 telecomm-VirtualBox ovpn-client[7524]: ROUTE_GATEWAY 192.168.69.2
  1560. huhti 24 11:17:53 telecomm-VirtualBox ovpn-client[7524]: TUN/TAP device tun0 opened
  1561. huhti 24 11:17:53 telecomm-VirtualBox ovpn-client[7524]: TUN/TAP TX queue length se
  1562. huhti 24 11:17:53 telecomm-VirtualBox ovpn-client[7524]: do_ifconfig, tt->ipv6=0, t
  1563. huhti 24 11:17:53 telecomm-VirtualBox ovpn-client[7524]: /sbin/ip link set dev tun0
  1564. huhti 24 11:17:53 telecomm-VirtualBox ovpn-client[7524]: /sbin/ip addr add dev tun0
  1565. huhti 24 11:17:54 telecomm-VirtualBox ovpn-client[7524]: /sbin/ip route add 10.8.6.
  1566. huhti 24 11:17:54 telecomm-VirtualBox ovpn-client[7524]: Initialization Sequence Co
  1567. ...skipping...
  1568. ● openvpn@client.service - OpenVPN connection to client
  1569. Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: e
  1570. Active: active (running) since ma 2017-04-24 11:17:51 EEST; 4s ago
  1571. Docs: man:openvpn(8)
  1572. https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
  1573. https://community.openvpn.net/openvpn/wiki/HOWTO
  1574. Process: 7522 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/
  1575. Main PID: 7524 (openvpn)
  1576. CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
  1577. └─7524 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/clie
  1578.  
  1579. huhti 24 11:17:53 telecomm-VirtualBox ovpn-client[7524]: OPTIONS IMPORT: --ifconfig
  1580. huhti 24 11:17:53 telecomm-VirtualBox ovpn-client[7524]: OPTIONS IMPORT: route opti
  1581. huhti 24 11:17:53 telecomm-VirtualBox ovpn-client[7524]: ROUTE_GATEWAY 192.168.69.2
  1582. huhti 24 11:17:53 telecomm-VirtualBox ovpn-client[7524]: TUN/TAP device tun0 opened
  1583. huhti 24 11:17:53 telecomm-VirtualBox ovpn-client[7524]: TUN/TAP TX queue length se
  1584. huhti 24 11:17:53 telecomm-VirtualBox ovpn-client[7524]: do_ifconfig, tt->ipv6=0, t
  1585. huhti 24 11:17:53 telecomm-VirtualBox ovpn-client[7524]: /sbin/ip link set dev tun0
  1586. huhti 24 11:17:53 telecomm-VirtualBox ovpn-client[7524]: /sbin/ip addr add dev tun0
  1587. huhti 24 11:17:54 telecomm-VirtualBox ovpn-client[7524]: /sbin/ip route add 10.8.6.
  1588. huhti 24 11:17:54 telecomm-VirtualBox ovpn-client[7524]: Initialization Sequence Co
  1589. ~
  1590. ~
  1591. ~
  1592. ~
  1593. ~
  1594. ~
  1595. ~
  1596. ~
  1597. ~
  1598. ~
  1599. ~
  1600. ~
  1601. ~
  1602. ~
  1603. ~
  1604. ~
  1605. ~
  1606. ~
  1607. ~
  1608. ~
  1609. ~
  1610. ~
  1611. ~
  1612. ~
  1613. ~
  1614. ~
  1615. ~
  1616. ~
  1617. ~
  1618. ^X
  1619. telecomm@telecomm-VirtualBox:~$ ifconfig
  1620. enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
  1621. inet addr:192.168.69.136 Bcast:192.168.69.255 Mask:255.255.255.0
  1622. inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
  1623. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  1624. RX packets:81489 errors:0 dropped:916 overruns:0 frame:0
  1625. TX packets:11758 errors:0 dropped:0 overruns:0 carrier:0
  1626. collisions:0 txqueuelen:1000
  1627. RX bytes:27462125 (27.4 MB) TX bytes:1969937 (1.9 MB)
  1628.  
  1629. enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
  1630. inet6 addr: fe80::4578:1057:b5ae:2cc0/64 Scope:Link
  1631. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  1632. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  1633. TX packets:1600 errors:0 dropped:0 overruns:0 carrier:0
  1634. collisions:0 txqueuelen:1000
  1635. RX bytes:0 (0.0 B) TX bytes:296243 (296.2 KB)
  1636.  
  1637. lo Link encap:Local Loopback
  1638. inet addr:127.0.0.1 Mask:255.0.0.0
  1639. inet6 addr: ::1/128 Scope:Host
  1640. UP LOOPBACK RUNNING MTU:65536 Metric:1
  1641. RX packets:5998 errors:0 dropped:0 overruns:0 frame:0
  1642. TX packets:5998 errors:0 dropped:0 overruns:0 carrier:0
  1643. collisions:0 txqueuelen:1
  1644. RX bytes:635726 (635.7 KB) TX bytes:635726 (635.7 KB)
  1645.  
  1646. tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
  1647. inet addr:10.8.6.6 P-t-P:10.8.6.5 Mask:255.255.255.255
  1648. UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
  1649. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  1650. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  1651. collisions:0 txqueuelen:100
  1652. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
  1653.  
  1654. telecomm@telecomm-VirtualBox:~$ ping 10.8.6.1
  1655. PING 10.8.6.1 (10.8.6.1) 56(84) bytes of data.
  1656. ^X^C
  1657. --- 10.8.6.1 ping statistics ---
  1658. 3 packets transmitted, 0 received, 100% packet loss, time 2016ms
  1659.  
  1660. telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
  1661. ● openvpn@client.service - OpenVPN connection to client
  1662. Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: e
  1663. Active: active (running) since ma 2017-04-24 11:17:51 EEST; 1min 1s ago
  1664. Docs: man:openvpn(8)
  1665. https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
  1666. https://community.openvpn.net/openvpn/wiki/HOWTO
  1667. Process: 7522 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/
  1668. Main PID: 7524 (openvpn)
  1669. CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
  1670. └─7524 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/clie
  1671.  
  1672. huhti 24 11:18:22 telecomm-VirtualBox ovpn-client[7524]: Bad LZO decompression head
  1673. huhti 24 11:18:23 telecomm-VirtualBox ovpn-client[7524]: Bad LZO decompression head
  1674. huhti 24 11:18:24 telecomm-VirtualBox ovpn-client[7524]: Bad LZO decompression head
  1675. huhti 24 11:18:25 telecomm-VirtualBox ovpn-client[7524]: Bad LZO decompression head
  1676. huhti 24 11:18:26 telecomm-VirtualBox ovpn-client[7524]: Bad LZO decompression head
  1677. huhti 24 11:18:27 telecomm-VirtualBox ovpn-client[7524]: Bad LZO decompression head
  1678. huhti 24 11:18:28 telecomm-VirtualBox ovpn-client[7524]: Bad LZO decompression head
  1679. huhti 24 11:18:29 telecomm-VirtualBox ovpn-client[7524]: Bad LZO decompression head
  1680. huhti 24 11:18:38 telecomm-VirtualBox ovpn-client[7524]: Bad LZO decompression head
  1681. huhti 24 11:18:49 telecomm-VirtualBox ovpn-client[7524]: Bad LZO decompression head
  1682. lines 1-21/21 (END)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement