История изменений
Исправление darksmoke, (текущая версия) :
в чем прикол не знаю ((
cat /etc/openvpn/server.conf | grep -Ev "#|;|^$"
port 1194
proto udp
dev tun
ca /etc/openvpn/ca.crt
cert /etc/openvpn/server.crt
dh /etc/openvpn/dh.pem
server 192.168.37.0 255.255.255.0
ifconfig-pool-persist /var/log/openvpn/ipp.txt
client-config-dir /etc/openvpn/ccd
client-to-client
keepalive 10 120
cipher AES-256-CBC
persist-key
persist-tun
status /var/log/openvpn/openvpn-status.log
log /var/log/openvpn/openvpn.log
verb 3
explicit-exit-notify 1
cat /var/log/openvpn/ipp.txt
pan,192.168.37.4
и клиент
cat /etc/openvpn/pan.conf | grep -Ev "#|;|^$"
client
dev tun
proto udp4
remote 178.215.112.222 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca /etc/openvpn/ca.crt
cert /etc/openvpn/pan.crt
key /etc/openvpn/pan.key
remote-cert-tls server
tls-auth /etc/openvpn/ta.key 1
cipher AES-256-CBC
verb 3
причетм тут /var/log/openvpn/ipp.txt
меняю руками на
pan,192.168.37.2
, перезапускаю опенвпн и там все равно pan,192.168.37.4
Исходная версия darksmoke, :
в чем прикол не знаю ((
cat /etc/openvpn/server.conf | grep -Ev "#|;|^$"
port 1194
proto udp
dev tun
ca /etc/openvpn/ca.crt
cert /etc/openvpn/server.crt
dh /etc/openvpn/dh.pem
server 192.168.37.0 255.255.255.0
ifconfig-pool-persist /var/log/openvpn/ipp.txt
client-config-dir /etc/openvpn/ccd
client-to-client
keepalive 10 120
cipher AES-256-CBC
persist-key
persist-tun
status /var/log/openvpn/openvpn-status.log
log /var/log/openvpn/openvpn.log
verb 3
explicit-exit-notify 1
cat /var/log/openvpn/ipp.txt
pan,192.168.37.4
и клиент
cat /etc/openvpn/pan.conf | grep -Ev "#|;|^$"
client
dev tun
proto udp4
remote 178.215.112.222 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca /etc/openvpn/ca.crt
cert /etc/openvpn/pan.crt
key /etc/openvpn/pan.key
remote-cert-tls server
tls-auth /etc/openvpn/ta.key 1
cipher AES-256-CBC
verb 3
причетм тут /var/log/openvpn/ipp.txt
меняю руками на
pan,192.168.37.2
, перезапускаю опенвпн и там все равно ``````pan,192.168.37.4```