Odp: Prawidłowa konfiguracja OpenVPN
po 10 minutach oczekiwania zrobiłem restart serwer nie uruchomił się. W dodatkach opcja odinstaluj jest nie dostępna
May 31 11:19:27 Gargoyle daemon.err openvpn(custom_config)[2958]: Options error: In [CMD-LINE]:1: Error opening configuration file: /etc/openvpn/server.conf
May 31 11:19:27 Gargoyle daemon.warn openvpn(custom_config)[2958]: Use --help for more information.zawartość pliku server.conf
mode server
port 1194
proto udp
tls-server
ifconfig 10.8.0.1 255.255.255.0
topology subnet
client-config-dir /etc/openvpn/ccd
client-to-client
duplicate-cn
ifconfig-pool 10.8.0.2 10.8.0.254 255.255.255.0
cipher BF-CBC
keysize 128
dev tun
keepalive 25 180
status /var/openvpn/current_status
verb 3
dh /etc/openvpn/dh1024.pem
ca /etc/openvpn/ca.crt
cert /etc/openvpn/server.crt
key /etc/openvpn/server.key
tls-auth /etc/openvpn/ta.key 0
persist-key
persist-tun
comp-lzo
push "route-gateway 10.8.0.1"
push "redirect-gateway def1"a jednak restart openvpn uruchomił vpn nie było go w rc.d
zrobie restart i zobaczę