openvpn-csc/server1 directory doesn't exist OpenVPN Won't start
-
Hello,
Any help would be appreciated, even a gentle nudge in the right direction. Thank you.
Sorry didn't give specifics
Version
2.4.3-RELEASE (amd64)
built on Mon Mar 26 18:02:04 CDT 2018
FreeBSD 11.1-RELEASE-p7I thought maybe the file auto creates when you setup a client config. So I setup a client config and still no /var/etc/openvpn-csc/server1
Strange thing is openvpn-csc is a log file with a lot of suricata information.
After rebooting the firewall this error comes up and OpenVPN won't start. I have tried creating the directory in edit file, but it fails to write.
42801 Options error: --client-config-dir fails with '/var/etc/openvpn-csc/server1': Not a directory (errno=20)
42801 Options error: Please correct these errors.
42801 Use --help for more information.
Here is my server1.conf
dev ovpns1
verb 1
dev-type tun
dev-node /dev/tun1
writepid /var/run/openvpn_server1.pid
#user nobody
#group nobody
script-security 3
daemon
keepalive 10 60
ping-timer-rem
persist-tun
persist-key
proto udp4
cipher AES-256-CBC
auth SHA1
up /usr/local/sbin/ovpn-linkup
down /usr/local/sbin/ovpn-linkdown
client-connect /usr/local/sbin/openvpn.attributes.sh
client-disconnect /usr/local/sbin/openvpn.attributes.sh
local XX.X.XXX.XXX
tls-server
server 10.0.10.0 255.255.255.0
client-config-dir /var/etc/openvpn-csc/server1
username-as-common-name
auth-user-pass-verify "/usr/local/sbin/ovpn_auth_verify user TG9jYWwgRGF0YWJhc2U= false server1 1194" via-env
tls-verify "/usr/local/sbin/ovpn_auth_verify tls 'XXXXXXX+VPN' 1"
lport 1194
management /var/etc/openvpn/server1.sock unix
push "route 192.168.1.0 255.255.255.0"
push "dhcp-option DNS 208.67.222.222"
push "dhcp-option DNS 208.67.220.220"
ca /var/etc/openvpn/server1.ca
cert /var/etc/openvpn/server1.cert
key /var/etc/openvpn/server1.key
dh /etc/dh-parameters.2048
tls-auth /var/etc/openvpn/server1.tls-auth 0
ncp-ciphers AES-256-GCM:AES-128-GCM
persist-remote-ip
float
topology subnetHere is /var/etc/openvpn-csc
10/01/2018-12:20:06.012499 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:06.012530 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:06.012562 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:06.012587 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:06.012617 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:06.012656 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:06.012695 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.021406 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.021462 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.021497 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.021527 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.021569 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.021620 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.021671 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.021721 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.021772 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.021822 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.021873 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.021925 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.021974 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.022024 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.022075 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.022127 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.022177 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.022228 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.022281 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.022352 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.022402 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.022453 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.022503 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.022555 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.022605 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.022656 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.022710 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.022761 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.022810 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.022861 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.022911 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.022962 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.023012 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.023064 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.023113 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.023163 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.023213 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.023264 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.023320 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.023372 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.023425 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.023478 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.023536 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.023587 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.023639 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.023692 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.023744 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.023797 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.023854 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.023907 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.023960 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.024015 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.024068 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.024120 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.024173 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.024226 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.024278 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.024332 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.024389 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.024443 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.024495 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.024547 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.024600 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514
10/01/2018-12:20:07.024651 [] [1:2200075:2] SURICATA UDPv4 invalid checksum [] [Classification: Generic Protocol Command Decode] [Priority: 3] {UDP} 192.168.1.1:514 -> 192.168.1.50:514