openvpn-client
openvpn-client copied to clipboard
Options error: In [CMD-LINE]:1: Error opening configuration file: /vpn/vpn.conf
This is my generated config:
dev tun
proto udp
remote 185.212.170.157 1194
resolv-retry infinite
keepalive 10 60
nobind
persist-key
persist-tun
tls-client
remote-cert-tls server
comp-lzo
verb 1
reneg-sec 0
disable-occ
fast-io
ca /vpn/vpn-ca.crt
Logs:
ip6tables v1.8.4 (legacy): can't initialize ip6tables table `nat': Table does not exist (do you need to insmod?)
Perhaps ip6tables or your kernel needs to be upgraded.
ip6tables v1.8.4 (legacy): can't initialize ip6tables table `nat': Table does not exist (do you need to insmod?)
Perhaps ip6tables or your kernel needs to be upgraded.
The use of ROUTE or -r may no longer be needed, try it without!
The use of ROUTE or -r may no longer be needed, try it without!
ip6tables v1.8.4 (legacy): can't initialize ip6tables table `nat': Table does not exist (do you need to insmod?)
Perhaps ip6tables or your kernel needs to be upgraded.
ip6tables v1.8.4 (legacy): can't initialize ip6tables table `nat': Table does not exist (do you need to insmod?)
Perhaps ip6tables or your kernel needs to be upgraded.
The use of ROUTE or -r may no longer be needed, try it without!
The use of ROUTE or -r may no longer be needed, try it without!
+ exec sg vpn -c 'openvpn --cd /vpn --config /vpn/vpn.conf --script-security 2 --redirect-gateway def1 --auth-user-pass /vpn/vpn.auth '
Options error: In [CMD-LINE]:1: Error opening configuration file: /vpn/vpn.conf
Use --help for more information.
docker command:
docker run -it --cap-add=NET_ADMIN --restart=always --privileged --device /dev/net/tun -p 5002:8112 -p 58846:58846 -p 58946:58946 -p 58946:58946/udp --name dperson-openvpn-client -v /volume1/docker/openvpn/conf/ovpn:/vpn -e TZ=EST5EDT dperson/openvpn-client -v '185.212.170.157;user;pass;1194' -f ""
Keep in mind that I just upgraded to DSM 7.