Ik heb zowat alles gelezen over dit onderwerp maar raak er niet uit. Ik had een PPTP (met internet)verbinding opgezet maar door te lezen dat openVpn veel veiliger is tracht ik dit in orde te krijgen. Na uren lezen en zoeken heb ik dit in orde gekregen om te verbinden maar geen internet. Dit is wel toegankelijk maar dan via de wifi verbinding hier. Ik heb op het forum gezocht en daar staan heel wat artikels die ik geprobeerd heb maar zonder resultaat. Hieronder het logbestand , als iemand daar iets aanheeft.
Mon May 01 14:23:31 2017 OpenVPN 2.3.12 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on Aug 23 2016
Mon May 01 14:23:31 2017 Windows version 6.2 (Windows 8 or greater) 64bit
Mon May 01 14:23:31 2017 library versions: OpenSSL 1.0.1t 3 May 2016, LZO 2.09
Enter Management Password:
Mon May 01 14:23:32 2017 WARNING: No server certificate verification method has been enabled. See
http://openvpn.net/howto.html#mitm for more info.
Mon May 01 14:23:32 2017 Attempting to establish TCP connection with [AF_INET]***.***.***.**:1194 [nonblock]
Mon May 01 14:23:33 2017 TCP connection established with [AF_INET]***.***.***.**:1194
Mon May 01 14:23:33 2017 TCPv4_CLIENT link local: [undef]
Mon May 01 14:23:33 2017 TCPv4_CLIENT link remote: [AF_INET]***.***.***.**:1194
Mon May 01 14:23:33 2017 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Mon May 01 14:23:34 2017 WARNING: this cipher's block size is less than 128 bit (64 bit). Consider using a --cipher with a larger block size.
Mon May 01 14:23:34 2017 WARNING: this cipher's block size is less than 128 bit (64 bit). Consider using a --cipher with a larger block size.
Mon May 01 14:23:34 2017 [synology.com] Peer Connection Initiated with [AF_INET]***.***.***.**:1194
Mon May 01 14:23:36 2017 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Mon May 01 14:23:36 2017 open_tun, tt->ipv6=0
Mon May 01 14:23:36 2017 TAP-WIN32 device [Ethernet 2] opened: \\.\Global\{89696A34-9A5C-47C7-93EE-824CA4FE06F9}.tap
Mon May 01 14:23:36 2017 Notified TAP-Windows driver to set a DHCP IP/netmask of 192.168.11.6/255.255.255.252 on interface {89696A34-9A5C-47C7-93EE-824CA4FE06F9} [DHCP-serv: 192.168.11.5, lease-time: 31536000]
Mon May 01 14:23:36 2017 Successful ARP Flush on interface [10] {89696A34-9A5C-47C7-93EE-824CA4FE06F9}
Mon May 01 14:23:43 2017 Initialization Sequence Completed
Mon May 01 14:24:13 2017 SIGTERM[hard,] received, process exiting
De reden dat ik een TCP verbinding doe is enkel omdat poort 1194 thuis ingesteld staat op TCP. Dit verander ik later.
Mijn *.ovp bestand hieronder.
dev tun
tls-client
remote ***.***.***.**
port 1194
# 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.)
Zit het hier misschien ?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 DNS_IP_ADDRESS
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 tcp-client
script-security 2
comp-lzo
reneg-sec 0
cipher BF-CBC
auth SHA1
auth-user-pass paswoord.txt
Alvast bedankt voor de hulp.