View Single Post
  #1   (View Single Post)  
Old 5th September 2016
svk900 svk900 is offline
New User
 
Join Date: Mar 2016
Posts: 2
Default Issue openvpn with openbsd 6.0

Last weekend i updated my openbsd system to version 6.0.
Since the update i have a problem with openvpn 2.3.11.

This is my openvpn config:
Code:
client
dev tun
proto udp
remote vpn.btguard.com 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca /etc/openvpn/btguard.ca.crt
verb 3
mute 3
auth-user-pass
mute-replay-warnings
float
reneg-sec 0
This are the errors i see in the openvpn log:
Code:
Mon Sep  5 13:27:46 2016 /sbin/route delete -net 0.0.0.0 192.168.2.1 -netmask 0.0.0.0
delete net 0.0.0.0: gateway 192.168.2.1: not in table
Mon Sep  5 13:27:46 2016 ERROR: OpenBSD/NetBSD route delete command failed: external program exited with error status: 1
Mon Sep  5 13:27:46 2016 /sbin/route add -net 0.0.0.0 10.10.10.237 -netmask 0.0.0.0
add net 0.0.0.0: gateway 10.10.10.237: File exists
Cause of this problem traffic is not send to the vpn but to the default gateway.
With openbsd 5.8 and 5.9 this was working fine.

I can fix it with the follow commands but it's just a temporary solution:
Code:
route delete default
route add default 10.10.10.237
Any help would be appreciated.
Reply With Quote