Graag zou ik een OpenVPN verbinding met mijn NAS willen aanmaken? Echter wil het na een aantal dagen proberen niet lukken.
Wat heb ik gedaan:
1. een dynamic DNS aangemaakt zodat ik niet met IP adres hoef te werken
2. poort 1221 in de router open gezet (heb 1221 ook in VPN server gedefinieerd ipv 1194)
Ter verduidelijking stuur ik hierbij ook de VPNconfig file en de logfile. Wie kan mij verder helpen?
dev tun
tls-client
remote xxxxxxxxxxxx.synology.me 1221
# The "float" tells OpenVPN to accept authenticated packets from any address,
# not only the address which was specified in the --remote option.
# This is useful when you are connecting to a peer which holds a dynamic address
# such as a dial-in user or DHCP client.
# (Please refer to the manual of OpenVPN for more information.)
#float
# If redirect-gateway is enabled, the client will redirect it's
# default network gateway through the VPN.
# It means the VPN connection will firstly connect to the VPN Server
# and then to the internet.
# (Please refer to the manual of OpenVPN for more information.)
redirect-gateway def1
# dhcp-option DNS: To set primary domain name server address.
# Repeat this option to set secondary DNS server addresses.
dhcp-option DNS 192.168.0.1
pull
# If you want to connect by Server's IPv6 address, you should use
# "proto udp6" in UDP mode or "proto tcp6-client" in TCP mode
proto udp
script-security 2
comp-lzo
reneg-sec 0
cipher AES-256-CBC
auth SHA512
auth-user-pass
Thu Apr 11 21:32:44 2019 OpenVPN 2.4.7 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Feb 21 2019
Thu Apr 11 21:32:44 2019 Windows version 6.2 (Windows 8 or greater) 64bit
Thu Apr 11 21:32:44 2019 library versions: OpenSSL 1.1.0j 20 Nov 2018, LZO 2.10
Thu Apr 11 21:32:49 2019 WARNING: No server certificate verification method has been enabled. See
http://openvpn.net/howto.html#mitm for more info.
Thu Apr 11 21:32:49 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]xxx.xxx.xxx.xxx:1221
Thu Apr 11 21:32:49 2019 UDP link local (bound): [AF_INET][undef]:1194
Thu Apr 11 21:32:49 2019 UDP link remote: [AF_INET]xxx.xxx.xxx.xxx:1221