Преглед на файлове

Add status file and management port, remove route to 192.168.21.0/24

Vadim Surkov преди 6 години
родител
ревизия
64e15a2d1c
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      openvpn/server.conf

+ 3 - 3
openvpn/server.conf

@@ -4,13 +4,12 @@ dev external
 dev-type tun
 ca  /etc/openvpn/keys/ca.crt
 cert  /etc/openvpn/keys/server.crt
-key  /etc/openvpn/keys/server.key 
+key  /etc/openvpn/keys/server.key
 dh  /etc/openvpn/keys/dh2048.pem
 crl-verify /etc/openvpn/persist/stonevpn.crl
 tls-auth /etc/openvpn/keys/ta.key 0
 server 10.10.20.0 255.255.255.0
 route 10.10.0.0 255.255.0.0
-route 192.168.21.0 255.255.255.0
 route 192.168.26.0 255.255.255.0
 push "route 192.168.200.0 255.255.248.0"
 push "route 10.9.0.0 255.255.0.0"
@@ -22,6 +21,7 @@ user openvpn
 group openvpn
 persist-key
 persist-tun
-#status /var/log/openvpn-status.log
+status /var/log/openvpn-status.log
 topology subnet
 verb 3
+management localhost 7505