You are not logged in.

#1 2017-09-12 13:08:40

jblain
Member
Registered: 2016-05-16
Posts: 8

My Open VPN is broken

Was working fine but now when I lauch it (from the command line I get :

Tue Sep 12 09:05:59 2017 WARNING: --ns-cert-type is DEPRECATED.  Use --remote-cert-tls instead.
Tue Sep 12 09:05:59 2017 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Tue Sep 12 09:06:00 2017 TCP/UDP: Preserving recently used remote address: [AF_INET]173.178.220.246:33444
Tue Sep 12 09:06:00 2017 UDP link local (bound): [AF_INET][undef]:0
Tue Sep 12 09:06:00 2017 UDP link remote: [AF_INET]173.178.220.246:33444
Tue Sep 12 09:06:00 2017 [VPNServerCertificate] Peer Connection Initiated with [AF_INET]173.178.220.246:33444
Tue Sep 12 09:06:01 2017 Options error: Unrecognized option or missing or extra parameter(s) in [PUSH-OPTIONS]:4: register-dns (2.4.3)
Tue Sep 12 09:06:01 2017 TUN/TAP device tun0 opened
Tue Sep 12 09:06:01 2017 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Tue Sep 12 09:06:01 2017 /usr/bin/ip link set dev tun0 up mtu 1500
Tue Sep 12 09:06:01 2017 /usr/bin/ip addr add dev tun0 local 172.16.1.6 peer 172.16.1.5
Tue Sep 12 09:06:01 2017 /etc/openvpn/client/update-systemd-resolved tun0 1500 1558 172.16.1.6 172.16.1.5 init
<14>Sep 12 09:06:01 update-systemd-resolved[9548]: Link `tun0' coming up
<14>Sep 12 09:06:01 update-systemd-resolved[9548]: Setting DNS Domain mainoffice.tecnar.com
<14>Sep 12 09:06:01 update-systemd-resolved[9548]: Adding IPv4 DNS Server 172.16.0.1
<14>Sep 12 09:06:01 update-systemd-resolved[9548]: SetLinkDNS(3 1 2 4 172 16 0 1)
Unit dbus-org.freedesktop.resolve1.service not found.
<8>Sep 12 09:06:01 update-systemd-resolved[9548]: `busctl' exited with status 1
Tue Sep 12 09:06:01 2017 WARNING: Failed running command (--up/--down): external program exited with error status: 1
Tue Sep 12 09:06:01 2017 Exiting due to fatal error


I have already found this :

https://bugs.archlinux.org/task/54796

But it does not seem to solve my problem

Any suggestions ?

Offline

#2 2017-09-12 13:20:50

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,846
Website

Re: My Open VPN is broken

Please use code tags when pasting terminal output to the boards.

https://wiki.archlinux.org/index.php/Co … s_and_code

Mod note: moving to Networking.

EDIT: I note that you have been asked to use code tags before and have failed to update your previous posts with them. Consider this your final warning -- if you continue to ignore the Code of Conduct and moderator requests, you will be removed from the forums.

Last edited by WorMzy (2017-09-12 13:35:34)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2017-09-12 22:21:31

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: My Open VPN is broken

You have enough on that log snippet to start digging, let me point it out:

Tue Sep 12 09:06:01 2017 Options error: Unrecognized option or missing or extra parameter(s) in [PUSH-OPTIONS]:4: register-dns (2.4.3)

This might also be worth looking into:

Tue Sep 12 09:05:59 2017 WARNING: --ns-cert-type is DEPRECATED.  Use --remote-cert-tls instead.
Unit dbus-org.freedesktop.resolve1.service not found.
<8>Sep 12 09:06:01 update-systemd-resolved[9548]: `busctl' exited with status 1
Tue Sep 12 09:06:01 2017 WARNING: Failed running command (--up/--down): external program exited with error status: 1

That said, describing a problem as worked before and now is broken without much further information is not going to take you anywhere anytime soon.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#4 2017-09-14 13:59:09

jblain
Member
Registered: 2016-05-16
Posts: 8

Re: My Open VPN is broken

I was able to fix the problem last night.
The problem was caused by the presence of these two lines in the .ovpn

up /etc/openvpn/client/update-systemd-resolved
down-pre /etc/openvpn/client/update-systemd-resolved

After I commented them out, everything started working correctly again :-)

Offline

#5 2017-09-14 14:22:53

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,846
Website

Re: My Open VPN is broken

Great, but you still didn't do what was asked of you, neither applying code tags, nor marking your thread as solved. You have now earned yourself a two week ban. Take this opportunity to read through the full Code of Conduct and if/when you return to the forums, follow it.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB