Page 1 of 1

[SOLVED]VPN connection removal (probably very stupid problem

PostPosted: Feb 3rd, '21, 22:03
by sojkovec
Well, title says the question. I need to remove badly setup openvpn configuration (not modify, just delete). netapplet allows me to add/modify a connection, but option to remove one is missing. Already got through /etc and found nothing. From where is the config loaded? Thanks.

Re: VPN connection removal (probably very stupid problem)

PostPosted: Feb 4th, '21, 01:08
by doktor5000
AFAIR the openvpn configs are stored below /etc/sysconfig/network-scripts/vpn.d/openvpn/
Removal might be possible with drakconnect --del and you would need to select the openvpn connection there.

Re: VPN connection removal (probably very stupid problem)

PostPosted: Feb 4th, '21, 18:37
by sojkovec
Thank you, found it. Seems that netapplet gui does not generate correct config file. After fixing it manually I am able to connect to my ovpn server. Still nothing coming through, so probalby some firewall rule. This could be closed I guess.

Re: VPN connection removal (probably very stupid problem)

PostPosted: Feb 4th, '21, 18:50
by doktor5000
Please mark it as solved by editing the subject of the original post and prefixing it with [SOLVED], thanks in advance.

Regarding nothing coming through, have a look at the various openvpn / vpn threads. Sometimes the routing is missing, sometime no DNS is configured for the VPN connection. Sometimes the firewall is not configured to include the VPN connection.
It would probably help if you would add some output from /sbin/ip a & /sbin/ip r and your /etc/resolv.conf

Re: VPN connection removal (probably very stupid problem)

PostPosted: Feb 4th, '21, 23:14
by sojkovec
Nope, tunnel interface was not allowed to do anything by netfilter, client side, routing fine. A little bit inconvenient, but I can access my machines at work. Anyway, good day/night.