Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- telecomm@telecomm-VirtualBox:~$ if
- if ifconfig ifdown ifquery ifup
- telecomm@telecomm-VirtualBox:~$ ifconfig
- enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
- inet addr:192.168.69.136 Bcast:192.168.69.255 Mask:255.255.255.0
- inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:3658 errors:0 dropped:16 overruns:0 frame:0
- TX packets:1084 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:3719892 (3.7 MB) TX bytes:199530 (199.5 KB)
- enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
- inet6 addr: fe80::4578:1057:b5ae:2cc0/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:63 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 (0.0 B) TX bytes:10286 (10.2 KB)
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:65536 Metric:1
- RX packets:349 errors:0 dropped:0 overruns:0 frame:0
- TX packets:349 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1
- RX bytes:51676 (51.6 KB) TX bytes:51676 (51.6 KB)
- telecomm@telecomm-VirtualBox:~$ sudo apt install openvpn
- [sudo] password for telecomm:
- Sorry, try again.
- [sudo] password for telecomm:
- Sorry, try again.
- [sudo] password for telecomm:
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following additional packages will be installed:
- libpkcs11-helper1
- Suggested packages:
- easy-rsa
- The following NEW packages will be installed:
- libpkcs11-helper1 openvpn
- 0 upgraded, 2 newly installed, 0 to remove and 386 not upgraded.
- Need to get 462 kB of archives.
- After this operation, 1 163 kB of additional disk space will be used.
- Do you want to continue? [Y/n]
- Get:1 http://fi.archive.ubuntu.com/ubuntu xenial/main amd64 libpkcs11-helper1 amd64 1.11-5 [44,0 kB]
- Get:2 http://fi.archive.ubuntu.com/ubuntu xenial/main amd64 openvpn amd64 2.3.10-1ubuntu2 [418 kB]
- Fetched 462 kB in 0s (2 191 kB/s)
- Preconfiguring packages ...
- Selecting previously unselected package libpkcs11-helper1:amd64.
- (Reading database ... 175392 files and directories currently installed.)
- Preparing to unpack .../libpkcs11-helper1_1.11-5_amd64.deb ...
- Unpacking libpkcs11-helper1:amd64 (1.11-5) ...
- Selecting previously unselected package openvpn.
- Preparing to unpack .../openvpn_2.3.10-1ubuntu2_amd64.deb ...
- Unpacking openvpn (2.3.10-1ubuntu2) ...
- Processing triggers for libc-bin (2.23-0ubuntu3) ...
- Processing triggers for man-db (2.7.5-1) ...
- Processing triggers for systemd (229-4ubuntu7) ...
- Processing triggers for ureadahead (0.100.0-19) ...
- Setting up libpkcs11-helper1:amd64 (1.11-5) ...
- Setting up openvpn (2.3.10-1ubuntu2) ...
- * Restarting virtual private network daemon(s)... * No VPN is running.
- Processing triggers for libc-bin (2.23-0ubuntu3) ...
- Processing triggers for systemd (229-4ubuntu7) ...
- Processing triggers for ureadahead (0.100.0-19) ...
- telecomm@telecomm-VirtualBox:~$ sudo cp /usr/share/doc/openvpn/examples/sample-config-files/client.conf /etc/op
- openvpn/ opt/
- telecomm@telecomm-VirtualBox:~$ sudo cp /usr/share/doc/openvpn/examples/sample-config-files/client.conf /etc/op
- openvpn/ opt/
- telecomm@telecomm-VirtualBox:~$ sudo cp /usr/share/doc/openvpn/examples/sample-config-files/client.conf /etc/op
- openvpn/ opt/
- telecomm@telecomm-VirtualBox:~$ sudo cp /usr/share/doc/openvpn/examples/sample-config-files/client.conf /etc/op
- openvpn/ opt/
- telecomm@telecomm-VirtualBox:~$ sudo cp /usr/share/doc/openvpn/examples/sample-config-files/client.conf /etc/openvpn/
- telecomm@telecomm-VirtualBox:~$ ls /etc/openvpn
- client.conf update-resolv-conf
- telecomm@telecomm-VirtualBox:~$ remote 10.8.6.0 1194
- remote: command not found
- telecomm@telecomm-VirtualBox:~$ remote 10.8.6.1 1194
- remote: command not found
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client start
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
- ● openvpn@client.service - OpenVPN connection to client
- Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset
- Active: active (running) since ma 2017-04-24 09:44:25 EEST; 5s ago
- Docs: man:openvpn(8)
- https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
- https://community.openvpn.net/openvpn/wiki/HOWTO
- Process: 4577 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openv
- Main PID: 4579 (openvpn)
- CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
- └─4579 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/c
- huhti 24 09:44:25 telecomm-VirtualBox systemd[1]: Starting OpenVPN connection to
- huhti 24 09:44:25 telecomm-VirtualBox ovpn-client[4577]: OpenVPN 2.3.10 x86_64-p
- huhti 24 09:44:25 telecomm-VirtualBox ovpn-client[4577]: library versions: OpenS
- huhti 24 09:44:25 telecomm-VirtualBox systemd[1]: openvpn@client.service: PID fi
- huhti 24 09:44:25 telecomm-VirtualBox ovpn-client[4579]: Socket Buffers: R=[2129
- huhti 24 09:44:25 telecomm-VirtualBox systemd[1]: Started OpenVPN connection to
- huhti 24 09:44:25 telecomm-VirtualBox ovpn-client[4579]: RESOLVE: Cannot resolve
- huhti 24 09:44:25 telecomm-VirtualBox ovpn-client[4579]: RESOLVE: Cannot resolve
- huhti 24 09:44:30 telecomm-VirtualBox ovpn-client[4579]: RESOLVE: Cannot resolve
- lines 1-20/20 (END)...skipping...
- ● openvpn@client.service - OpenVPN connection to client
- Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
- Active: active (running) since ma 2017-04-24 09:44:25 EEST; 5s ago
- Docs: man:openvpn(8)
- https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
- https://community.openvpn.net/openvpn/wiki/HOWTO
- Process: 4577 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --script-security 2 --config /etc/op
- Main PID: 4579 (openvpn)
- CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
- └─4579 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/client.status 10 --cd /etc/openvpn --script-security 2 --config /etc/op
- huhti 24 09:44:25 telecomm-VirtualBox systemd[1]: Starting OpenVPN connection to client...
- 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
- huhti 24 09:44:25 telecomm-VirtualBox ovpn-client[4577]: library versions: OpenSSL 1.0.2g-fips 1 Mar 2016, LZO 2.08
- 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
- huhti 24 09:44:25 telecomm-VirtualBox ovpn-client[4579]: Socket Buffers: R=[212992->212992] S=[212992->212992]
- huhti 24 09:44:25 telecomm-VirtualBox systemd[1]: Started OpenVPN connection to client.
- huhti 24 09:44:25 telecomm-VirtualBox ovpn-client[4579]: RESOLVE: Cannot resolve host address: my-server-1: Name or service not known
- huhti 24 09:44:25 telecomm-VirtualBox ovpn-client[4579]: RESOLVE: Cannot resolve host address: my-server-1: Name or service not known
- huhti 24 09:44:30 telecomm-VirtualBox ovpn-client[4579]: RESOLVE: Cannot resolve host address: my-server-1: Name or service not known
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ^X
- telecomm@telecomm-VirtualBox:~$ sudo nano /etc/openvpn/client.conf
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client restart
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
- ● openvpn@client.service - OpenVPN connection to client
- Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
- Active: active (running) since ma 2017-04-24 09:46:36 EEST; 3s ago
- Docs: man:openvpn(8)
- https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
- https://community.openvpn.net/openvpn/wiki/HOWTO
- Process: 4608 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --script-security 2 --config /etc/op
- Main PID: 4612 (openvpn)
- CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
- └─4612 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/client.status 10 --cd /etc/openvpn --script-security 2 --config /etc/op
- huhti 24 09:46:36 telecomm-VirtualBox systemd[1]: Starting OpenVPN connection to client...
- 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
- huhti 24 09:46:36 telecomm-VirtualBox ovpn-client[4608]: library versions: OpenSSL 1.0.2g-fips 1 Mar 2016, LZO 2.08
- 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
- huhti 24 09:46:36 telecomm-VirtualBox ovpn-client[4612]: Socket Buffers: R=[212992->212992] S=[212992->212992]
- huhti 24 09:46:36 telecomm-VirtualBox ovpn-client[4612]: UDPv4 link local: [undef]
- huhti 24 09:46:36 telecomm-VirtualBox ovpn-client[4612]: UDPv4 link remote: [AF_INET]10.8.6.1:1194
- huhti 24 09:46:36 telecomm-VirtualBox systemd[1]: Started OpenVPN connection to client.
- lines 1-19/19 (END)
- ● openvpn@client.service - OpenVPN connection to client
- Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
- Active: active (running) since ma 2017-04-24 09:46:36 EEST; 3s ago
- Docs: man:openvpn(8)
- https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
- https://community.openvpn.net/openvpn/wiki/HOWTO
- 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 --
- Main PID: 4612 (openvpn)
- CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
- └─4612 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/client.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/client.con
- huhti 24 09:46:36 telecomm-VirtualBox systemd[1]: Starting OpenVPN connection to client...
- 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
- huhti 24 09:46:36 telecomm-VirtualBox ovpn-client[4608]: library versions: OpenSSL 1.0.2g-fips 1 Mar 2016, LZO 2.08
- 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
- huhti 24 09:46:36 telecomm-VirtualBox ovpn-client[4612]: Socket Buffers: R=[212992->212992] S=[212992->212992]
- huhti 24 09:46:36 telecomm-VirtualBox ovpn-client[4612]: UDPv4 link local: [undef]
- huhti 24 09:46:36 telecomm-VirtualBox ovpn-client[4612]: UDPv4 link remote: [AF_INET]10.8.6.1:1194
- huhti 24 09:46:36 telecomm-VirtualBox systemd[1]: Started OpenVPN connection to client.
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ...skipping...
- ● openvpn@client.service - OpenVPN connection to client
- Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
- Active: active (running) since ma 2017-04-24 09:46:36 EEST; 3s ago
- Docs: man:openvpn(8)
- https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
- https://community.openvpn.net/openvpn/wiki/HOWTO
- 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 --
- Main PID: 4612 (openvpn)
- CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
- └─4612 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/client.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/client.con
- huhti 24 09:46:36 telecomm-VirtualBox systemd[1]: Starting OpenVPN connection to client...
- 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
- huhti 24 09:46:36 telecomm-VirtualBox ovpn-client[4608]: library versions: OpenSSL 1.0.2g-fips 1 Mar 2016, LZO 2.08
- 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
- huhti 24 09:46:36 telecomm-VirtualBox ovpn-client[4612]: Socket Buffers: R=[212992->212992] S=[212992->212992]
- huhti 24 09:46:36 telecomm-VirtualBox ovpn-client[4612]: UDPv4 link local: [undef]
- huhti 24 09:46:36 telecomm-VirtualBox ovpn-client[4612]: UDPv4 link remote: [AF_INET]10.8.6.1:1194
- huhti 24 09:46:36 telecomm-VirtualBox systemd[1]: Started OpenVPN connection to client.
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ^X
- [1]+ Stopped sudo service openvpn@client status
- ^Z^Z^C^C
- telecomm@telecomm-VirtualBox:~$ sudo nano /etc/openvpn/client.conf
- telecomm@telecomm-VirtualBox:~$ traceroute6
- Usage: traceroute6 [-dnrvV] [-m max_ttl] [-p port#] [-q nqueries]
- [-s src_addr] [-t tos] [-w wait] host [data size]
- telecomm@telecomm-VirtualBox:~$ traceroute google.com
- The program 'traceroute' can be found in the following packages:
- * inetutils-traceroute
- * traceroute
- Try: sudo apt install <selected package>
- telecomm@telecomm-VirtualBox:~$ traceroute6 google.com
- connect: Network is unreachable
- telecomm@telecomm-VirtualBox:~$ ping 10.8.6.1
- PING 10.8.6.1 (10.8.6.1) 56(84) bytes of data.
- From 192.168.4.1 icmp_seq=1 Destination Net Unreachable
- From 192.168.4.1 icmp_seq=2 Destination Net Unreachable
- From 192.168.4.1 icmp_seq=3 Destination Net Unreachable
- From 192.168.4.1 icmp_seq=4 Destination Net Unreachable
- From 192.168.4.1 icmp_seq=5 Destination Net Unreachable
- From 192.168.4.1 icmp_seq=6 Destination Net Unreachable
- From 192.168.4.1 icmp_seq=7 Destination Net Unreachable
- From 192.168.4.1 icmp_seq=8 Destination Net Unreachable
- From 192.168.4.1 icmp_seq=9 Destination Net Unreachable
- From 192.168.4.1 icmp_seq=10 Destination Net Unreachable
- From 192.168.4.1 icmp_seq=11 Destination Net Unreachable
- From 192.168.4.1 icmp_seq=12 Destination Net Unreachable
- ^XFrom 192.168.4.1 icmp_seq=13 Destination Net Unreachable
- From 192.168.4.1 icmp_seq=14 Destination Net Unreachable
- ^X^XFrom 192.168.4.1 icmp_seq=15 Destination Net Unreachable
- ^C
- --- 10.8.6.1 ping statistics ---
- 15 packets transmitted, 0 received, +15 errors, 100% packet loss, time 14016ms
- telecomm@telecomm-VirtualBox:~$ ipconfig tun0
- No command 'ipconfig' found, did you mean:
- Command 'iwconfig' from package 'wireless-tools' (main)
- Command 'ifconfig' from package 'net-tools' (main)
- Command 'iconfig' from package 'ipmiutil' (universe)
- ipconfig: command not found
- telecomm@telecomm-VirtualBox:~$ ipconfig
- No command 'ipconfig' found, did you mean:
- Command 'iconfig' from package 'ipmiutil' (universe)
- Command 'ifconfig' from package 'net-tools' (main)
- Command 'iwconfig' from package 'wireless-tools' (main)
- ipconfig: command not found
- telecomm@telecomm-VirtualBox:~$ ifconfig tun0
- tun0: error fetching interface information: Device not found
- telecomm@telecomm-VirtualBox:~$ ifconfig tun0
- tun0: error fetching interface information: Device not found
- telecomm@telecomm-VirtualBox:~$ ifconfig
- enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
- inet addr:192.168.69.136 Bcast:192.168.69.255 Mask:255.255.255.0
- inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:13270 errors:0 dropped:16 overruns:0 frame:0
- TX packets:2150 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:5264435 (5.2 MB) TX bytes:316076 (316.0 KB)
- enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
- inet6 addr: fe80::4578:1057:b5ae:2cc0/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:322 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 (0.0 B) TX bytes:56953 (56.9 KB)
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:65536 Metric:1
- RX packets:875 errors:0 dropped:0 overruns:0 frame:0
- TX packets:875 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1
- RX bytes:115680 (115.6 KB) TX bytes:115680 (115.6 KB)
- telecomm@telecomm-VirtualBox:~$ ls help
- ls: cannot access 'help': No such file or directory
- telecomm@telecomm-VirtualBox:~$ ls -h
- ca.crt client1.crt client1.key Desktop Documents Downloads examples.desktop Music Pictures Public Templates Videos
- telecomm@telecomm-VirtualBox:~$ ls /etc/openvpn/
- ca.crt client1.crt client1.key client.conf update-resolv-conf
- telecomm@telecomm-VirtualBox:~$ sudo nano /etc/openvpn/client.conf
- telecomm@telecomm-VirtualBox:~$ ifconfig
- enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
- inet addr:192.168.69.136 Bcast:192.168.69.255 Mask:255.255.255.0
- inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:16290 errors:0 dropped:16 overruns:0 frame:0
- TX packets:2230 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:5563248 (5.5 MB) TX bytes:321986 (321.9 KB)
- enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:361 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 (0.0 B) TX bytes:64682 (64.6 KB)
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:65536 Metric:1
- RX packets:959 errors:0 dropped:0 overruns:0 frame:0
- TX packets:959 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1
- RX bytes:124972 (124.9 KB) TX bytes:124972 (124.9 KB)
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client restart
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
- ● openvpn@client.service - OpenVPN connection to client
- Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
- Active: active (running) since ma 2017-04-24 09:55:54 EEST; 8s ago
- Docs: man:openvpn(8)
- https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
- https://community.openvpn.net/openvpn/wiki/HOWTO
- 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 --
- Main PID: 4765 (openvpn)
- CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
- └─4765 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/client.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/client.con
- huhti 24 09:55:54 telecomm-VirtualBox systemd[1]: Starting OpenVPN connection to client...
- 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
- huhti 24 09:55:54 telecomm-VirtualBox ovpn-client[4761]: library versions: OpenSSL 1.0.2g-fips 1 Mar 2016, LZO 2.08
- 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
- huhti 24 09:55:54 telecomm-VirtualBox ovpn-client[4765]: Socket Buffers: R=[212992->212992] S=[212992->212992]
- huhti 24 09:55:54 telecomm-VirtualBox ovpn-client[4765]: UDPv4 link local: [undef]
- huhti 24 09:55:54 telecomm-VirtualBox ovpn-client[4765]: UDPv4 link remote: [AF_INET]10.8.6.1:1194
- huhti 24 09:55:54 telecomm-VirtualBox systemd[1]: Started OpenVPN connection to client.
- ...skipping...
- ● openvpn@client.service - OpenVPN connection to client
- Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
- Active: active (running) since ma 2017-04-24 09:55:54 EEST; 8s ago
- Docs: man:openvpn(8)
- https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
- https://community.openvpn.net/openvpn/wiki/HOWTO
- 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 --
- Main PID: 4765 (openvpn)
- CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
- └─4765 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/client.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/client.con
- huhti 24 09:55:54 telecomm-VirtualBox systemd[1]: Starting OpenVPN connection to client...
- 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
- huhti 24 09:55:54 telecomm-VirtualBox ovpn-client[4761]: library versions: OpenSSL 1.0.2g-fips 1 Mar 2016, LZO 2.08
- 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
- huhti 24 09:55:54 telecomm-VirtualBox ovpn-client[4765]: Socket Buffers: R=[212992->212992] S=[212992->212992]
- huhti 24 09:55:54 telecomm-VirtualBox ovpn-client[4765]: UDPv4 link local: [undef]
- huhti 24 09:55:54 telecomm-VirtualBox ovpn-client[4765]: UDPv4 link remote: [AF_INET]10.8.6.1:1194
- huhti 24 09:55:54 telecomm-VirtualBox systemd[1]: Started OpenVPN connection to client.
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- Invalid mark letter (press RETURN)
- telecomm@telecomm-VirtualBox:~$ ifconfig
- enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
- inet addr:192.168.69.136 Bcast:192.168.69.255 Mask:255.255.255.0
- inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:16509 errors:0 dropped:16 overruns:0 frame:0
- TX packets:2236 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:5581908 (5.5 MB) TX bytes:322387 (322.3 KB)
- enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:361 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 (0.0 B) TX bytes:64682 (64.6 KB)
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:65536 Metric:1
- RX packets:959 errors:0 dropped:0 overruns:0 frame:0
- TX packets:959 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1
- RX bytes:124972 (124.9 KB) TX bytes:124972 (124.9 KB)
- telecomm@telecomm-VirtualBox:~$ ifconfig
- enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
- inet addr:192.168.69.136 Bcast:192.168.69.255 Mask:255.255.255.0
- inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:26122 errors:0 dropped:16 overruns:0 frame:0
- TX packets:3404 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:9556342 (9.5 MB) TX bytes:538741 (538.7 KB)
- enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:589 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 (0.0 B) TX bytes:106890 (106.8 KB)
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:65536 Metric:1
- RX packets:1561 errors:0 dropped:0 overruns:0 frame:0
- TX packets:1561 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1
- RX bytes:208045 (208.0 KB) TX bytes:208045 (208.0 KB)
- telecomm@telecomm-VirtualBox:~$ ifconfig
- enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
- inet addr:192.168.69.136 Bcast:192.168.69.255 Mask:255.255.255.0
- inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:26500 errors:0 dropped:16 overruns:0 frame:0
- TX packets:3443 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:9591511 (9.5 MB) TX bytes:541570 (541.5 KB)
- enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:589 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 (0.0 B) TX bytes:106890 (106.8 KB)
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:65536 Metric:1
- RX packets:1569 errors:0 dropped:0 overruns:0 frame:0
- TX packets:1569 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1
- RX bytes:208807 (208.8 KB) TX bytes:208807 (208.8 KB)
- telecomm@telecomm-VirtualBox:~$ ifconfig
- enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
- inet addr:192.168.69.136 Bcast:192.168.69.255 Mask:255.255.255.0
- inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:26520 errors:0 dropped:16 overruns:0 frame:0
- TX packets:3449 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:9593241 (9.5 MB) TX bytes:542012 (542.0 KB)
- enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:589 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 (0.0 B) TX bytes:106890 (106.8 KB)
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:65536 Metric:1
- RX packets:1569 errors:0 dropped:0 overruns:0 frame:0
- TX packets:1569 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1
- RX bytes:208807 (208.8 KB) TX bytes:208807 (208.8 KB)
- telecomm@telecomm-VirtualBox:~$ ifconfig
- enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
- inet addr:192.168.69.136 Bcast:192.168.69.255 Mask:255.255.255.0
- inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:26531 errors:0 dropped:16 overruns:0 frame:0
- TX packets:3450 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:9594131 (9.5 MB) TX bytes:542078 (542.0 KB)
- enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:589 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 (0.0 B) TX bytes:106890 (106.8 KB)
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:65536 Metric:1
- RX packets:1569 errors:0 dropped:0 overruns:0 frame:0
- TX packets:1569 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1
- RX bytes:208807 (208.8 KB) TX bytes:208807 (208.8 KB)
- telecomm@telecomm-VirtualBox:~$ ifconfig
- enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
- inet addr:192.168.69.136 Bcast:192.168.69.255 Mask:255.255.255.0
- inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:26535 errors:0 dropped:16 overruns:0 frame:0
- TX packets:3450 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:9594499 (9.5 MB) TX bytes:542078 (542.0 KB)
- enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:589 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 (0.0 B) TX bytes:106890 (106.8 KB)
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:65536 Metric:1
- RX packets:1569 errors:0 dropped:0 overruns:0 frame:0
- TX packets:1569 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1
- RX bytes:208807 (208.8 KB) TX bytes:208807 (208.8 KB)
- telecomm@telecomm-VirtualBox:~$ ifconfig
- enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
- inet addr:192.168.69.136 Bcast:192.168.69.255 Mask:255.255.255.0
- inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:26542 errors:0 dropped:16 overruns:0 frame:0
- TX packets:3450 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:9595111 (9.5 MB) TX bytes:542078 (542.0 KB)
- enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:589 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 (0.0 B) TX bytes:106890 (106.8 KB)
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:65536 Metric:1
- RX packets:1569 errors:0 dropped:0 overruns:0 frame:0
- TX packets:1569 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1
- RX bytes:208807 (208.8 KB) TX bytes:208807 (208.8 KB)
- telecomm@telecomm-VirtualBox:~$ ifconfig
- enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
- inet addr:192.168.69.136 Bcast:192.168.69.255 Mask:255.255.255.0
- inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:26553 errors:0 dropped:16 overruns:0 frame:0
- TX packets:3450 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:9596027 (9.5 MB) TX bytes:542078 (542.0 KB)
- enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:589 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 (0.0 B) TX bytes:106890 (106.8 KB)
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:65536 Metric:1
- RX packets:1569 errors:0 dropped:0 overruns:0 frame:0
- TX packets:1569 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1
- RX bytes:208807 (208.8 KB) TX bytes:208807 (208.8 KB)
- telecomm@telecomm-VirtualBox:~$ ifconfig
- enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
- inet addr:192.168.69.136 Bcast:192.168.69.255 Mask:255.255.255.0
- inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:26564 errors:0 dropped:16 overruns:0 frame:0
- TX packets:3450 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:9597029 (9.5 MB) TX bytes:542078 (542.0 KB)
- enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:589 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 (0.0 B) TX bytes:106890 (106.8 KB)
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:65536 Metric:1
- RX packets:1569 errors:0 dropped:0 overruns:0 frame:0
- TX packets:1569 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1
- RX bytes:208807 (208.8 KB) TX bytes:208807 (208.8 KB)
- telecomm@telecomm-VirtualBox:~$ ifconfig
- enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
- inet addr:10.8.6.3 Bcast:10.8.6.255 Mask:255.255.255.0
- inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:26701 errors:0 dropped:24 overruns:0 frame:0
- TX packets:3508 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:9610932 (9.6 MB) TX bytes:549448 (549.4 KB)
- enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:589 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 (0.0 B) TX bytes:106890 (106.8 KB)
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:65536 Metric:1
- RX packets:1696 errors:0 dropped:0 overruns:0 frame:0
- TX packets:1696 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1
- RX bytes:217615 (217.6 KB) TX bytes:217615 (217.6 KB)
- telecomm@telecomm-VirtualBox:~$ pin
- pinentry pinentry-gnome3 pinentry-x11 ping ping6 pinky
- telecomm@telecomm-VirtualBox:~$ ping 10.8.6.1
- PING 10.8.6.1 (10.8.6.1) 56(84) bytes of data.
- From 10.8.6.3 icmp_seq=1 Destination Host Unreachable
- From 10.8.6.3 icmp_seq=2 Destination Host Unreachable
- From 10.8.6.3 icmp_seq=3 Destination Host Unreachable
- From 10.8.6.3 icmp_seq=4 Destination Host Unreachable
- From 10.8.6.3 icmp_seq=5 Destination Host Unreachable
- From 10.8.6.3 icmp_seq=6 Destination Host Unreachable
- From 10.8.6.3 icmp_seq=7 Destination Host Unreachable
- ^C
- --- 10.8.6.1 ping statistics ---
- 8 packets transmitted, 0 received, +7 errors, 100% packet loss, time 6999ms
- pipe 4
- telecomm@telecomm-VirtualBox:~$ sudo nano /etc/openvpn/client.conf
- [sudo] password for telecomm:
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client restart
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
- ● openvpn@client.service - OpenVPN connection to client
- Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
- Active: active (running) since ma 2017-04-24 10:19:50 EEST; 3s ago
- Docs: man:openvpn(8)
- https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
- https://community.openvpn.net/openvpn/wiki/HOWTO
- 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 --
- Main PID: 5663 (openvpn)
- CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
- └─5663 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/client.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/client.con
- huhti 24 10:19:50 telecomm-VirtualBox systemd[1]: Starting OpenVPN connection to client...
- 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
- huhti 24 10:19:50 telecomm-VirtualBox ovpn-client[5659]: library versions: OpenSSL 1.0.2g-fips 1 Mar 2016, LZO 2.08
- 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
- huhti 24 10:19:50 telecomm-VirtualBox ovpn-client[5663]: Socket Buffers: R=[212992->212992] S=[212992->212992]
- huhti 24 10:19:50 telecomm-VirtualBox ovpn-client[5663]: UDPv4 link local: [undef]
- huhti 24 10:19:50 telecomm-VirtualBox ovpn-client[5663]: UDPv4 link remote: [AF_INET]10.8.6.1:9999
- huhti 24 10:19:50 telecomm-VirtualBox systemd[1]: Started OpenVPN connection to client.
- ...skipping...
- ● openvpn@client.service - OpenVPN connection to client
- Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
- Active: active (running) since ma 2017-04-24 10:19:50 EEST; 3s ago
- Docs: man:openvpn(8)
- https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
- https://community.openvpn.net/openvpn/wiki/HOWTO
- 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 --
- Main PID: 5663 (openvpn)
- CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
- └─5663 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/client.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/client.con
- huhti 24 10:19:50 telecomm-VirtualBox systemd[1]: Starting OpenVPN connection to client...
- 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
- huhti 24 10:19:50 telecomm-VirtualBox ovpn-client[5659]: library versions: OpenSSL 1.0.2g-fips 1 Mar 2016, LZO 2.08
- 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
- huhti 24 10:19:50 telecomm-VirtualBox ovpn-client[5663]: Socket Buffers: R=[212992->212992] S=[212992->212992]
- huhti 24 10:19:50 telecomm-VirtualBox ovpn-client[5663]: UDPv4 link local: [undef]
- huhti 24 10:19:50 telecomm-VirtualBox ovpn-client[5663]: UDPv4 link remote: [AF_INET]10.8.6.1:9999
- huhti 24 10:19:50 telecomm-VirtualBox systemd[1]: Started OpenVPN connection to client.
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ^X
- telecomm@telecomm-VirtualBox:~$ ifconfig
- enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
- inet addr:10.8.6.3 Bcast:10.8.6.3 Mask:255.255.255.255
- inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:33673 errors:0 dropped:456 overruns:0 frame:0
- TX packets:3978 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:10275849 (10.2 MB) TX bytes:604940 (604.9 KB)
- enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:706 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 (0.0 B) TX bytes:129020 (129.0 KB)
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:65536 Metric:1
- RX packets:2852 errors:0 dropped:0 overruns:0 frame:0
- TX packets:2852 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1
- RX bytes:298526 (298.5 KB) TX bytes:298526 (298.5 KB)
- telecomm@telecomm-VirtualBox:~$ sudo nano /etc/openvpn/client.conf
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client restart
- telecomm@telecomm-VirtualBox:~$ ifconfig
- enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
- inet addr:10.8.6.3 Bcast:10.8.6.3 Mask:255.255.255.255
- inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:36955 errors:0 dropped:796 overruns:0 frame:0
- TX packets:4049 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:10573028 (10.5 MB) TX bytes:609660 (609.6 KB)
- enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:825 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 (0.0 B) TX bytes:151834 (151.8 KB)
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:65536 Metric:1
- RX packets:3472 errors:0 dropped:0 overruns:0 frame:0
- TX packets:3472 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1
- RX bytes:336790 (336.7 KB) TX bytes:336790 (336.7 KB)
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
- ● openvpn@client.service - OpenVPN connection to client
- Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
- Active: active (running) since ma 2017-04-24 10:25:50 EEST; 53s ago
- Docs: man:openvpn(8)
- https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
- https://community.openvpn.net/openvpn/wiki/HOWTO
- 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 --
- Main PID: 5754 (openvpn)
- CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
- └─5754 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/client.status 10 --cd /etc/openvpn --script-security 2 --config /etc/openvpn/client.con
- huhti 24 10:25:50 telecomm-VirtualBox systemd[1]: Starting OpenVPN connection to client...
- 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
- huhti 24 10:25:50 telecomm-VirtualBox ovpn-client[5750]: library versions: OpenSSL 1.0.2g-fips 1 Mar 2016, LZO 2.08
- 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
- huhti 24 10:25:50 telecomm-VirtualBox ovpn-client[5754]: Socket Buffers: R=[212992->212992] S=[212992->212992]
- huhti 24 10:25:50 telecomm-VirtualBox ovpn-client[5754]: UDPv4 link local: [undef]
- huhti 24 10:25:50 telecomm-VirtualBox ovpn-client[5754]: UDPv4 link remote: [AF_INET]10.8.6.0:1194
- huhti 24 10:25:50 telecomm-VirtualBox systemd[1]: Started OpenVPN connection to client.
- lines 1-19/19 (END)
- telecomm@telecomm-VirtualBox:~$ client
- No command 'client' found, did you mean:
- Command 'jclient' from package 'julius' (multiverse)
- client: command not found
- telecomm@telecomm-VirtualBox:~$ ^C
- telecomm@telecomm-VirtualBox:~$ client
- No command 'client' found, did you mean:
- Command 'jclient' from package 'julius' (multiverse)
- client: command not found
- telecomm@telecomm-VirtualBox:~$ sudo gedit /etc/openvpn/client1.crt
- [sudo] password for telecomm:
- ** (gedit:6289): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-position not supported
- telecomm@telecomm-VirtualBox:~$ sudo gedit /etc/openvpn/client.conf
- ** (gedit:6301): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-enabled not supported
- ** (gedit:6301): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
- ** (gedit:6301): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-position not supported
- telecomm@telecomm-VirtualBox:~$ sudo gedit /etc/openvpn/client.conf
- (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
- ** (gedit:6314): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-position not supported
- telecomm@telecomm-VirtualBox:~$ sudo service ioenvpn@client start
- Failed to start ioenvpn@client.service: Unit ioenvpn@client.service not found.
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client start
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
- ● openvpn@client.service - OpenVPN connection to client
- Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
- Active: active (running) since ma 2017-04-24 10:25:50 EEST; 24min ago
- Docs: man:openvpn(8)
- https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
- https://community.openvpn.net/openvpn/wiki/HOWTO
- 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
- Main PID: 5754 (openvpn)
- CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
- └─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
- huhti 24 10:48:35 telecomm-VirtualBox ovpn-client[5754]: UDPv4 link local: [undef]
- huhti 24 10:48:35 telecomm-VirtualBox ovpn-client[5754]: UDPv4 link remote: [AF_INET]10.8.6.0:1194
- 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)
- huhti 24 10:49:35 telecomm-VirtualBox ovpn-client[5754]: TLS Error: TLS handshake failed
- huhti 24 10:49:35 telecomm-VirtualBox ovpn-client[5754]: SIGUSR1[soft,tls-error] received, process restarting
- huhti 24 10:49:35 telecomm-VirtualBox ovpn-client[5754]: Restart pause, 2 second(s)
- huhti 24 10:49:37 telecomm-VirtualBox ovpn-client[5754]: Socket Buffers: R=[212992->212992] S=[212992->212992]
- huhti 24 10:49:37 telecomm-VirtualBox ovpn-client[5754]: UDPv4 link local: [undef]
- huhti 24 10:49:37 telecomm-VirtualBox ovpn-client[5754]: UDPv4 link remote: [AF_INET]10.8.6.0:1194
- huhti 24 10:49:52 telecomm-VirtualBox systemd[1]: Started OpenVPN connection to client.
- lines 1-21/21 (END)
- telecomm@telecomm-VirtualBox:~$ sudo gedit /etc/openvpn/client.conf
- (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
- ** (gedit:6392): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-enabled not supported
- ** (gedit:6392): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
- ** (gedit:6392): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-position not supported
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
- ● openvpn@client.service - OpenVPN connection to client
- Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
- Active: active (running) since ma 2017-04-24 10:25:50 EEST; 24min ago
- Docs: man:openvpn(8)
- https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
- https://community.openvpn.net/openvpn/wiki/HOWTO
- 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
- Main PID: 5754 (openvpn)
- CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
- └─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
- huhti 24 10:49:37 telecomm-VirtualBox ovpn-client[5754]: UDPv4 link local: [undef]
- huhti 24 10:49:37 telecomm-VirtualBox ovpn-client[5754]: UDPv4 link remote: [AF_INET]10.8.6.0:1194
- huhti 24 10:49:52 telecomm-VirtualBox systemd[1]: Started OpenVPN connection to client.
- 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)
- huhti 24 10:50:37 telecomm-VirtualBox ovpn-client[5754]: TLS Error: TLS handshake failed
- huhti 24 10:50:37 telecomm-VirtualBox ovpn-client[5754]: SIGUSR1[soft,tls-error] received, process restarting
- huhti 24 10:50:37 telecomm-VirtualBox ovpn-client[5754]: Restart pause, 2 second(s)
- huhti 24 10:50:39 telecomm-VirtualBox ovpn-client[5754]: Socket Buffers: R=[212992->212992] S=[212992->212992]
- huhti 24 10:50:39 telecomm-VirtualBox ovpn-client[5754]: UDPv4 link local: [undef]
- huhti 24 10:50:39 telecomm-VirtualBox ovpn-client[5754]: UDPv4 link remote: [AF_INET]10.8.6.0:1194
- lines 1-21/21 (END)
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client start
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
- ● openvpn@client.service - OpenVPN connection to client
- Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
- Active: active (running) since ma 2017-04-24 10:25:50 EEST; 25min ago
- Docs: man:openvpn(8)
- https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
- https://community.openvpn.net/openvpn/wiki/HOWTO
- 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
- Main PID: 5754 (openvpn)
- CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
- └─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
- huhti 24 10:49:37 telecomm-VirtualBox ovpn-client[5754]: UDPv4 link remote: [AF_INET]10.8.6.0:1194
- huhti 24 10:49:52 telecomm-VirtualBox systemd[1]: Started OpenVPN connection to client.
- 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)
- huhti 24 10:50:37 telecomm-VirtualBox ovpn-client[5754]: TLS Error: TLS handshake failed
- huhti 24 10:50:37 telecomm-VirtualBox ovpn-client[5754]: SIGUSR1[soft,tls-error] received, process restarting
- huhti 24 10:50:37 telecomm-VirtualBox ovpn-client[5754]: Restart pause, 2 second(s)
- huhti 24 10:50:39 telecomm-VirtualBox ovpn-client[5754]: Socket Buffers: R=[212992->212992] S=[212992->212992]
- huhti 24 10:50:39 telecomm-VirtualBox ovpn-client[5754]: UDPv4 link local: [undef]
- huhti 24 10:50:39 telecomm-VirtualBox ovpn-client[5754]: UDPv4 link remote: [AF_INET]10.8.6.0:1194
- huhti 24 10:50:49 telecomm-VirtualBox systemd[1]: Started OpenVPN connection to client.
- lines 1-21/21 (END)
- telecomm@telecomm-VirtualBox:~$ sudo gedit /etc/openvpn/client.conf
- (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
- ** (gedit:6445): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-enabled not supported
- ** (gedit:6445): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
- ** (gedit:6445): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-position not supported
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client start
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client restart
- 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.
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
- ● openvpn@client.service - OpenVPN connection to client
- Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
- Active: failed (Result: exit-code) since ma 2017-04-24 10:51:22 EEST; 4s ago
- Docs: man:openvpn(8)
- https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
- https://community.openvpn.net/openvpn/wiki/HOWTO
- 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
- Main PID: 5754 (code=exited, status=0/SUCCESS)
- huhti 24 10:51:22 telecomm-VirtualBox systemd[1]: Stopped OpenVPN connection to client.
- huhti 24 10:51:22 telecomm-VirtualBox systemd[1]: Starting OpenVPN connection to client...
- huhti 24 10:51:22 telecomm-VirtualBox ovpn-client[6492]: Options error: --tls-auth fails with 'ta.key': No such file or directory
- huhti 24 10:51:22 telecomm-VirtualBox ovpn-client[6492]: Options error: Please correct these errors.
- huhti 24 10:51:22 telecomm-VirtualBox ovpn-client[6492]: Use --help for more information.
- huhti 24 10:51:22 telecomm-VirtualBox systemd[1]: openvpn@client.service: Control process exited, code=exited status=1
- huhti 24 10:51:22 telecomm-VirtualBox systemd[1]: Failed to start OpenVPN connection to client.
- huhti 24 10:51:22 telecomm-VirtualBox systemd[1]: openvpn@client.service: Unit entered failed state.
- huhti 24 10:51:22 telecomm-VirtualBox systemd[1]: openvpn@client.service: Failed with result 'exit-code'.
- lines 1-18/18 (END)
- [2]+ Stopped sudo service openvpn@client status
- ^C^C
- telecomm@telecomm-VirtualBox:~$ sudo gedit /etc/openvpn/client.conf
- (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
- ** (gedit:6509): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-enabled not supported
- ** (gedit:6509): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
- ** (gedit:6509): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-position not supported
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client restart
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
- ● openvpn@client.service - OpenVPN connection to client
- Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
- Active: active (running) since ma 2017-04-24 10:52:21 EEST; 1s ago
- Docs: man:openvpn(8)
- https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
- https://community.openvpn.net/openvpn/wiki/HOWTO
- 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
- Main PID: 6526 (openvpn)
- CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
- └─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
- huhti 24 10:52:21 telecomm-VirtualBox systemd[1]: Starting OpenVPN connection to client...
- 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
- huhti 24 10:52:21 telecomm-VirtualBox ovpn-client[6524]: library versions: OpenSSL 1.0.2g-fips 1 Mar 2016, LZO 2.08
- 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
- huhti 24 10:52:21 telecomm-VirtualBox ovpn-client[6526]: Socket Buffers: R=[212992->212992] S=[212992->212992]
- huhti 24 10:52:21 telecomm-VirtualBox ovpn-client[6526]: UDPv4 link local: [undef]
- huhti 24 10:52:21 telecomm-VirtualBox ovpn-client[6526]: UDPv4 link remote: [AF_INET]10.8.6.1:1194
- huhti 24 10:52:21 telecomm-VirtualBox systemd[1]: Started OpenVPN connection to client.
- ...skipping...
- ● openvpn@client.service - OpenVPN connection to client
- Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
- Active: active (running) since ma 2017-04-24 10:52:21 EEST; 1s ago
- Docs: man:openvpn(8)
- https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
- https://community.openvpn.net/openvpn/wiki/HOWTO
- 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
- Main PID: 6526 (openvpn)
- CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
- └─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
- huhti 24 10:52:21 telecomm-VirtualBox systemd[1]: Starting OpenVPN connection to client...
- 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
- huhti 24 10:52:21 telecomm-VirtualBox ovpn-client[6524]: library versions: OpenSSL 1.0.2g-fips 1 Mar 2016, LZO 2.08
- 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
- huhti 24 10:52:21 telecomm-VirtualBox ovpn-client[6526]: Socket Buffers: R=[212992->212992] S=[212992->212992]
- huhti 24 10:52:21 telecomm-VirtualBox ovpn-client[6526]: UDPv4 link local: [undef]
- huhti 24 10:52:21 telecomm-VirtualBox ovpn-client[6526]: UDPv4 link remote: [AF_INET]10.8.6.1:1194
- huhti 24 10:52:21 telecomm-VirtualBox systemd[1]: Started OpenVPN connection to client.
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- No previous regular expression (press RETURN)
- telecomm@telecomm-VirtualBox:~$ ifconfig
- enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
- inet addr:192.168.69.136 Bcast:192.168.69.255 Mask:255.255.255.0
- inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:65948 errors:0 dropped:916 overruns:0 frame:0
- TX packets:10967 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:25974955 (25.9 MB) TX bytes:1851547 (1.8 MB)
- enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:1200 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 (0.0 B) TX bytes:221520 (221.5 KB)
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:65536 Metric:1
- RX packets:5435 errors:0 dropped:0 overruns:0 frame:0
- TX packets:5435 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1
- RX bytes:564415 (564.4 KB) TX bytes:564415 (564.4 KB)
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
- ● openvpn@client.service - OpenVPN connection to client
- Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
- Active: active (running) since ma 2017-04-24 10:52:21 EEST; 2min 48s ago
- Docs: man:openvpn(8)
- https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
- https://community.openvpn.net/openvpn/wiki/HOWTO
- 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
- Main PID: 6526 (openvpn)
- CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
- └─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
- huhti 24 10:53:24 telecomm-VirtualBox ovpn-client[6526]: Socket Buffers: R=[212992->212992] S=[212992->212992]
- huhti 24 10:53:24 telecomm-VirtualBox ovpn-client[6526]: UDPv4 link local: [undef]
- huhti 24 10:53:24 telecomm-VirtualBox ovpn-client[6526]: UDPv4 link remote: [AF_INET]10.8.6.1:1194
- 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)
- huhti 24 10:54:24 telecomm-VirtualBox ovpn-client[6526]: TLS Error: TLS handshake failed
- huhti 24 10:54:24 telecomm-VirtualBox ovpn-client[6526]: SIGUSR1[soft,tls-error] received, process restarting
- huhti 24 10:54:24 telecomm-VirtualBox ovpn-client[6526]: Restart pause, 2 second(s)
- huhti 24 10:54:26 telecomm-VirtualBox ovpn-client[6526]: Socket Buffers: R=[212992->212992] S=[212992->212992]
- huhti 24 10:54:26 telecomm-VirtualBox ovpn-client[6526]: UDPv4 link local: [undef]
- huhti 24 10:54:26 telecomm-VirtualBox ovpn-client[6526]: UDPv4 link remote: [AF_INET]10.8.6.1:1194
- ...skipping...
- ● openvpn@client.service - OpenVPN connection to client
- Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
- Active: active (running) since ma 2017-04-24 10:52:21 EEST; 2min 48s ago
- Docs: man:openvpn(8)
- https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
- https://community.openvpn.net/openvpn/wiki/HOWTO
- 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
- Main PID: 6526 (openvpn)
- CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
- └─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
- huhti 24 10:53:24 telecomm-VirtualBox ovpn-client[6526]: Socket Buffers: R=[212992->212992] S=[212992->212992]
- huhti 24 10:53:24 telecomm-VirtualBox ovpn-client[6526]: UDPv4 link local: [undef]
- huhti 24 10:53:24 telecomm-VirtualBox ovpn-client[6526]: UDPv4 link remote: [AF_INET]10.8.6.1:1194
- 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)
- huhti 24 10:54:24 telecomm-VirtualBox ovpn-client[6526]: TLS Error: TLS handshake failed
- huhti 24 10:54:24 telecomm-VirtualBox ovpn-client[6526]: SIGUSR1[soft,tls-error] received, process restarting
- huhti 24 10:54:24 telecomm-VirtualBox ovpn-client[6526]: Restart pause, 2 second(s)
- huhti 24 10:54:26 telecomm-VirtualBox ovpn-client[6526]: Socket Buffers: R=[212992->212992] S=[212992->212992]
- huhti 24 10:54:26 telecomm-VirtualBox ovpn-client[6526]: UDPv4 link local: [undef]
- huhti 24 10:54:26 telecomm-VirtualBox ovpn-client[6526]: UDPv4 link remote: [AF_INET]10.8.6.1:1194
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- lines 1-21/21 (END)
- telecomm@telecomm-VirtualBox:~$ sudo gedit /etc/openvpn/client.conf
- ^[OA
- (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
- ** (gedit:6595): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-enabled not supported
- ** (gedit:6595): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
- ^[OA^[OA^[OA^[OA^[OA^C
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client stop
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client start
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
- ● openvpn@client.service - OpenVPN connection to client
- Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
- Active: active (running) since ma 2017-04-24 10:57:04 EEST; 3s ago
- Docs: man:openvpn(8)
- https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
- https://community.openvpn.net/openvpn/wiki/HOWTO
- 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
- Main PID: 6682 (openvpn)
- CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
- └─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
- huhti 24 10:57:06 telecomm-VirtualBox ovpn-client[6682]: OPTIONS IMPORT: --ifconfig/up options modified
- huhti 24 10:57:06 telecomm-VirtualBox ovpn-client[6682]: OPTIONS IMPORT: route options modified
- 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
- huhti 24 10:57:06 telecomm-VirtualBox ovpn-client[6682]: TUN/TAP device tun0 opened
- huhti 24 10:57:06 telecomm-VirtualBox ovpn-client[6682]: TUN/TAP TX queue length set to 100
- huhti 24 10:57:06 telecomm-VirtualBox ovpn-client[6682]: do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
- huhti 24 10:57:06 telecomm-VirtualBox ovpn-client[6682]: /sbin/ip link set dev tun0 up mtu 1500
- 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
- huhti 24 10:57:06 telecomm-VirtualBox ovpn-client[6682]: /sbin/ip route add 10.8.6.1/32 via 10.8.6.5
- huhti 24 10:57:06 telecomm-VirtualBox ovpn-client[6682]: Initialization Sequence Completed
- lines 1-21/21 (END)
- telecomm@telecomm-VirtualBox:~$ ifconfig
- enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
- inet addr:192.168.69.136 Bcast:192.168.69.255 Mask:255.255.255.0
- inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:68725 errors:0 dropped:916 overruns:0 frame:0
- TX packets:11086 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:26236131 (26.2 MB) TX bytes:1864006 (1.8 MB)
- enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:1316 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 (0.0 B) TX bytes:243308 (243.3 KB)
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:65536 Metric:1
- RX packets:5578 errors:0 dropped:0 overruns:0 frame:0
- TX packets:5578 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1
- RX bytes:582744 (582.7 KB) TX bytes:582744 (582.7 KB)
- tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
- inet addr:10.8.6.6 P-t-P:10.8.6.5 Mask:255.255.255.255
- UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:100
- RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
- telecomm@telecomm-VirtualBox:~$ ping 10.8.6.1
- PING 10.8.6.1 (10.8.6.1) 56(84) bytes of data.
- ^C
- --- 10.8.6.1 ping statistics ---
- 57 packets transmitted, 0 received, 100% packet loss, time 56450ms
- telecomm@telecomm-VirtualBox:~$ ping 10.8.6.1
- PING 10.8.6.1 (10.8.6.1) 56(84) bytes of data.
- ^C
- --- 10.8.6.1 ping statistics ---
- 8 packets transmitted, 0 received, 100% packet loss, time 7057ms
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client stop
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client start
- telecomm@telecomm-VirtualBox:~$ ping 10.8.6.1
- PING 10.8.6.1 (10.8.6.1) 56(84) bytes of data.
- ^C
- --- 10.8.6.1 ping statistics ---
- 7 packets transmitted, 0 received, 100% packet loss, time 6047ms
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
- ● openvpn@client.service - OpenVPN connection to client
- Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
- Active: active (running) since ma 2017-04-24 10:59:26 EEST; 16s ago
- Docs: man:openvpn(8)
- https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
- https://community.openvpn.net/openvpn/wiki/HOWTO
- 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
- Main PID: 6879 (openvpn)
- CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
- └─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
- huhti 24 10:59:29 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
- huhti 24 10:59:30 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
- huhti 24 10:59:31 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
- huhti 24 10:59:32 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
- huhti 24 10:59:33 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
- huhti 24 10:59:34 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
- huhti 24 10:59:35 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
- huhti 24 10:59:36 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
- huhti 24 10:59:37 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
- huhti 24 10:59:38 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
- lines 1-21/21 (END)
- ● openvpn@client.service - OpenVPN connection to client
- Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
- Active: active (running) since ma 2017-04-24 10:59:26 EEST; 16s ago
- Docs: man:openvpn(8)
- https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
- https://community.openvpn.net/openvpn/wiki/HOWTO
- 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
- Main PID: 6879 (openvpn)
- CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
- └─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
- huhti 24 10:59:29 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
- huhti 24 10:59:30 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
- huhti 24 10:59:31 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
- huhti 24 10:59:32 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
- huhti 24 10:59:33 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
- huhti 24 10:59:34 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
- huhti 24 10:59:35 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
- huhti 24 10:59:36 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
- huhti 24 10:59:37 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
- huhti 24 10:59:38 telecomm-VirtualBox ovpn-client[6879]: Authenticate/Decrypt packet error: cipher final failed
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- lines 1-21/21 (END)
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client restart
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
- ● openvpn@client.service - OpenVPN connection to client
- Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
- Active: active (running) since ma 2017-04-24 11:02:05 EEST; 2s ago
- Docs: man:openvpn(8)
- https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
- https://community.openvpn.net/openvpn/wiki/HOWTO
- 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
- Main PID: 7058 (openvpn)
- CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
- └─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
- huhti 24 11:02:08 telecomm-VirtualBox ovpn-client[7058]: OPTIONS IMPORT: --ifconfig/up options modified
- huhti 24 11:02:08 telecomm-VirtualBox ovpn-client[7058]: OPTIONS IMPORT: route options modified
- 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
- huhti 24 11:02:08 telecomm-VirtualBox ovpn-client[7058]: TUN/TAP device tun0 opened
- huhti 24 11:02:08 telecomm-VirtualBox ovpn-client[7058]: TUN/TAP TX queue length set to 100
- huhti 24 11:02:08 telecomm-VirtualBox ovpn-client[7058]: do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
- huhti 24 11:02:08 telecomm-VirtualBox ovpn-client[7058]: /sbin/ip link set dev tun0 up mtu 1500
- 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
- huhti 24 11:02:08 telecomm-VirtualBox ovpn-client[7058]: /sbin/ip route add 10.8.6.1/32 via 10.8.6.5
- huhti 24 11:02:08 telecomm-VirtualBox ovpn-client[7058]: Initialization Sequence Completed
- lines 1-21/21 (END)
- telecomm@telecomm-VirtualBox:~$
- telecomm@telecomm-VirtualBox:~$
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
- ● openvpn@client.service - OpenVPN connection to client
- Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
- Active: active (running) since ma 2017-04-24 11:02:05 EEST; 1min 15s ago
- Docs: man:openvpn(8)
- https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
- https://community.openvpn.net/openvpn/wiki/HOWTO
- 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
- Main PID: 7058 (openvpn)
- CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
- └─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
- huhti 24 11:02:40 telecomm-VirtualBox ovpn-client[7058]: Authenticate/Decrypt packet error: cipher final failed
- huhti 24 11:02:41 telecomm-VirtualBox ovpn-client[7058]: Authenticate/Decrypt packet error: cipher final failed
- huhti 24 11:02:42 telecomm-VirtualBox ovpn-client[7058]: Authenticate/Decrypt packet error: cipher final failed
- huhti 24 11:02:43 telecomm-VirtualBox ovpn-client[7058]: Authenticate/Decrypt packet error: cipher final failed
- huhti 24 11:02:44 telecomm-VirtualBox ovpn-client[7058]: Authenticate/Decrypt packet error: cipher final failed
- huhti 24 11:02:45 telecomm-VirtualBox ovpn-client[7058]: Authenticate/Decrypt packet error: cipher final failed
- huhti 24 11:02:46 telecomm-VirtualBox ovpn-client[7058]: Authenticate/Decrypt packet error: cipher final failed
- huhti 24 11:02:55 telecomm-VirtualBox ovpn-client[7058]: Authenticate/Decrypt packet error: cipher final failed
- huhti 24 11:03:05 telecomm-VirtualBox ovpn-client[7058]: Authenticate/Decrypt packet error: cipher final failed
- huhti 24 11:03:15 telecomm-VirtualBox ovpn-client[7058]: Authenticate/Decrypt packet error: cipher final failed
- lines 1-21/21 (END)
- telecomm@telecomm-VirtualBox:~$
- telecomm@telecomm-VirtualBox:~$
- telecomm@telecomm-VirtualBox:~$
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client restart
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
- ● openvpn@client.service - OpenVPN connection to client
- Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: enabled)
- Active: active (running) since ma 2017-04-24 11:03:27 EEST; 1s ago
- Docs: man:openvpn(8)
- https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
- https://community.openvpn.net/openvpn/wiki/HOWTO
- 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
- Main PID: 7209 (openvpn)
- CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
- └─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
- huhti 24 11:03:27 telecomm-VirtualBox ovpn-client[7209]: WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1542', remote='link-mtu 1557'
- 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'
- huhti 24 11:03:27 telecomm-VirtualBox ovpn-client[7209]: WARNING: 'cipher' is used inconsistently, local='cipher BF-CBC', remote='cipher AES-256-CBC'
- huhti 24 11:03:27 telecomm-VirtualBox ovpn-client[7209]: WARNING: 'keysize' is used inconsistently, local='keysize 128', remote='keysize 256'
- huhti 24 11:03:27 telecomm-VirtualBox ovpn-client[7209]: Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
- huhti 24 11:03:27 telecomm-VirtualBox ovpn-client[7209]: Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
- huhti 24 11:03:27 telecomm-VirtualBox ovpn-client[7209]: Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
- huhti 24 11:03:27 telecomm-VirtualBox ovpn-client[7209]: Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
- 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
- huhti 24 11:03:27 telecomm-VirtualBox ovpn-client[7209]: [team6server] Peer Connection Initiated with [AF_INET]192.168.69.56:1194
- lines 1-21/21 (END)
- telecomm@telecomm-VirtualBox:~$ ls /etv/openvpn
- ls: cannot access '/etv/openvpn': No such file or directory
- telecomm@telecomm-VirtualBox:~$ ls /etc/openvpn
- ca.crt client1.crt client1.key client.conf update-resolv-conf
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client stop
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client start
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
- ● openvpn@client.service - OpenVPN connection to client
- Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: e
- Active: active (running) since ma 2017-04-24 11:17:51 EEST; 4s ago
- Docs: man:openvpn(8)
- https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
- https://community.openvpn.net/openvpn/wiki/HOWTO
- Process: 7522 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/
- Main PID: 7524 (openvpn)
- CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
- └─7524 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/clie
- huhti 24 11:17:53 telecomm-VirtualBox ovpn-client[7524]: OPTIONS IMPORT: --ifconfig
- huhti 24 11:17:53 telecomm-VirtualBox ovpn-client[7524]: OPTIONS IMPORT: route opti
- huhti 24 11:17:53 telecomm-VirtualBox ovpn-client[7524]: ROUTE_GATEWAY 192.168.69.2
- huhti 24 11:17:53 telecomm-VirtualBox ovpn-client[7524]: TUN/TAP device tun0 opened
- huhti 24 11:17:53 telecomm-VirtualBox ovpn-client[7524]: TUN/TAP TX queue length se
- huhti 24 11:17:53 telecomm-VirtualBox ovpn-client[7524]: do_ifconfig, tt->ipv6=0, t
- huhti 24 11:17:53 telecomm-VirtualBox ovpn-client[7524]: /sbin/ip link set dev tun0
- huhti 24 11:17:53 telecomm-VirtualBox ovpn-client[7524]: /sbin/ip addr add dev tun0
- huhti 24 11:17:54 telecomm-VirtualBox ovpn-client[7524]: /sbin/ip route add 10.8.6.
- huhti 24 11:17:54 telecomm-VirtualBox ovpn-client[7524]: Initialization Sequence Co
- ...skipping...
- ● openvpn@client.service - OpenVPN connection to client
- Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: e
- Active: active (running) since ma 2017-04-24 11:17:51 EEST; 4s ago
- Docs: man:openvpn(8)
- https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
- https://community.openvpn.net/openvpn/wiki/HOWTO
- Process: 7522 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/
- Main PID: 7524 (openvpn)
- CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
- └─7524 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/clie
- huhti 24 11:17:53 telecomm-VirtualBox ovpn-client[7524]: OPTIONS IMPORT: --ifconfig
- huhti 24 11:17:53 telecomm-VirtualBox ovpn-client[7524]: OPTIONS IMPORT: route opti
- huhti 24 11:17:53 telecomm-VirtualBox ovpn-client[7524]: ROUTE_GATEWAY 192.168.69.2
- huhti 24 11:17:53 telecomm-VirtualBox ovpn-client[7524]: TUN/TAP device tun0 opened
- huhti 24 11:17:53 telecomm-VirtualBox ovpn-client[7524]: TUN/TAP TX queue length se
- huhti 24 11:17:53 telecomm-VirtualBox ovpn-client[7524]: do_ifconfig, tt->ipv6=0, t
- huhti 24 11:17:53 telecomm-VirtualBox ovpn-client[7524]: /sbin/ip link set dev tun0
- huhti 24 11:17:53 telecomm-VirtualBox ovpn-client[7524]: /sbin/ip addr add dev tun0
- huhti 24 11:17:54 telecomm-VirtualBox ovpn-client[7524]: /sbin/ip route add 10.8.6.
- huhti 24 11:17:54 telecomm-VirtualBox ovpn-client[7524]: Initialization Sequence Co
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ~
- ^X
- telecomm@telecomm-VirtualBox:~$ ifconfig
- enp0s3 Link encap:Ethernet HWaddr 08:00:27:03:d8:8c
- inet addr:192.168.69.136 Bcast:192.168.69.255 Mask:255.255.255.0
- inet6 addr: fe80::9fd3:4af7:cc31:9991/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:81489 errors:0 dropped:916 overruns:0 frame:0
- TX packets:11758 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:27462125 (27.4 MB) TX bytes:1969937 (1.9 MB)
- enp0s8 Link encap:Ethernet HWaddr 08:00:27:c1:79:4c
- inet6 addr: fe80::4578:1057:b5ae:2cc0/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:1600 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 (0.0 B) TX bytes:296243 (296.2 KB)
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:65536 Metric:1
- RX packets:5998 errors:0 dropped:0 overruns:0 frame:0
- TX packets:5998 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1
- RX bytes:635726 (635.7 KB) TX bytes:635726 (635.7 KB)
- tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
- inet addr:10.8.6.6 P-t-P:10.8.6.5 Mask:255.255.255.255
- UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:100
- RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
- telecomm@telecomm-VirtualBox:~$ ping 10.8.6.1
- PING 10.8.6.1 (10.8.6.1) 56(84) bytes of data.
- ^X^C
- --- 10.8.6.1 ping statistics ---
- 3 packets transmitted, 0 received, 100% packet loss, time 2016ms
- telecomm@telecomm-VirtualBox:~$ sudo service openvpn@client status
- ● openvpn@client.service - OpenVPN connection to client
- Loaded: loaded (/lib/systemd/system/openvpn@.service; disabled; vendor preset: e
- Active: active (running) since ma 2017-04-24 11:17:51 EEST; 1min 1s ago
- Docs: man:openvpn(8)
- https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
- https://community.openvpn.net/openvpn/wiki/HOWTO
- Process: 7522 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/
- Main PID: 7524 (openvpn)
- CGroup: /system.slice/system-openvpn.slice/openvpn@client.service
- └─7524 /usr/sbin/openvpn --daemon ovpn-client --status /run/openvpn/clie
- huhti 24 11:18:22 telecomm-VirtualBox ovpn-client[7524]: Bad LZO decompression head
- huhti 24 11:18:23 telecomm-VirtualBox ovpn-client[7524]: Bad LZO decompression head
- huhti 24 11:18:24 telecomm-VirtualBox ovpn-client[7524]: Bad LZO decompression head
- huhti 24 11:18:25 telecomm-VirtualBox ovpn-client[7524]: Bad LZO decompression head
- huhti 24 11:18:26 telecomm-VirtualBox ovpn-client[7524]: Bad LZO decompression head
- huhti 24 11:18:27 telecomm-VirtualBox ovpn-client[7524]: Bad LZO decompression head
- huhti 24 11:18:28 telecomm-VirtualBox ovpn-client[7524]: Bad LZO decompression head
- huhti 24 11:18:29 telecomm-VirtualBox ovpn-client[7524]: Bad LZO decompression head
- huhti 24 11:18:38 telecomm-VirtualBox ovpn-client[7524]: Bad LZO decompression head
- huhti 24 11:18:49 telecomm-VirtualBox ovpn-client[7524]: Bad LZO decompression head
- lines 1-21/21 (END)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement