I've configured a RB951G-2HnD with this officila tutorial http://wiki.mikrotik.com/wiki/OpenVPN_C ... ep_by_Step but I'm not able to maket it works.
I want a Windows client able to reach a remote Windows File Server.
I don't need to use the RouterBoard as a Internet gateway.
This is the Windows OpenVPN config file:
Code: Select all
client
proto tcp
dev tun
remote REMOTEIP
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
ns-cert-type server
tls-client
auth-user-pass auth.cfg
auth-nocache
verb 3
script-security 3
route 192.168.111.0 255.255.255.0
Code: Select all
There is a problem in your selection of --ifconfig endpoints [local=172.21.0.10, remote=172.21.0.254]. The local and remote VPN endpoints must exist within the same 255.255.255.252 subnet. This is a limitation of --dev tun when used with the TAP-WIN32 driver. Try 'openvpn --show-valid-subnets' option for more info.
Thank you.