Други, запарился уже впн настраивать. Есть vps, надо ноут законнектить. Но пока на серваке не взлетело. Чё не так? Научите. Вот лог:
Wed Jan 30 16:52:30 2019 OpenVPN 2.4.6 x86_64-slackware-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Apr 26 2018
Wed Jan 30 16:52:30 2019 library versions: OpenSSL 1.0.1u 22 Sep 2016, LZO 2.03
Wed Jan 30 16:52:30 2019 Diffie-Hellman initialized with 2048 bit key
Wed Jan 30 16:52:35 2019 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Wed Jan 30 16:52:35 2019 Failed to extract curve from certificate (UNDEF), using secp384r1 instead.
Wed Jan 30 16:52:35 2019 ECDH curve secp384r1 added
Wed Jan 30 16:52:35 2019 Outgoing Control Channel Authentication: Using 128 bit message hash 'MD5' for HMAC authentication
Wed Jan 30 16:52:35 2019 Incoming Control Channel Authentication: Using 128 bit message hash 'MD5' for HMAC authentication
Wed Jan 30 16:52:35 2019 ROUTE_GATEWAY 192.0.2.1
Wed Jan 30 16:52:35 2019 TUN/TAP device tun0 opened
Wed Jan 30 16:52:35 2019 TUN/TAP TX queue length set to 100
Wed Jan 30 16:52:35 2019 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Wed Jan 30 16:52:35 2019 /usr/sbin/ip link set dev tun0 up mtu 1500
Wed Jan 30 16:52:35 2019 /usr/sbin/ip addr add dev tun0 10.8.0.1/24 broadcast 10.8.0.255
Wed Jan 30 16:52:35 2019 /usr/sbin/ip route add 192.168.10.0/24 via 10.8.0.2
Wed Jan 30 16:52:35 2019 Could not determine IPv4/IPv6 protocol. Using AF_INET
Wed Jan 30 16:52:35 2019 Socket Buffers: R=[133120->133120] S=[133120->133120]
Wed Jan 30 16:52:35 2019 UDPv4 link local (bound): [AF_INET][undef]:1194
Wed Jan 30 16:52:35 2019 UDPv4 link remote: [AF_UNSPEC]
Wed Jan 30 16:52:35 2019 GID set to nobody
Wed Jan 30 16:52:35 2019 UID set to nobody
Wed Jan 30 16:52:35 2019 MULTI: multi_init called, r=256 v=256
Wed Jan 30 16:52:35 2019 IFCONFIG POOL: base=10.8.0.2 size=252, ipv6=0
Wed Jan 30 16:52:35 2019 Initialization Sequence Completed
port 1194
proto udp
dev tun0
ca "/etc/openvpn/certs/ca.crt"
cert "/etc/openvpn/certs/server.crt"
key "/etc/openvpn/keys/server.key"
dh "/etc/openvpn/certs/dh2048.pem"
topology subnet
tls-server
tls-auth "/etc/openvpn/keys/ta.key" 0
tls-timeout 120
auth MD5
server 10.8.0.0 255.255.255.0
push "route 192.168.10.0 255.255.255.0"
route 192.168.10.0 255.255.255.0
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 192.168.10.100"
keepalive 10 120
cipher AES-256-CBC
comp-lzo
max-clients 5
user nobody
group nobody
persist-key
persist-tun
client-to-client
status "/var/log/openvpn-status.log"
log "/var/log/openvpn.log"
log-append "/var/log/openvpn.log"
verb 3