Page 1 of 1

mikrotik openvpn server - Mac osx and windows 7 client

Posted: Sat Jun 11, 2016 7:43 am
by cendrawasih
Dear Mikrotik,

After read http://wiki.mikrotik.com/wiki/Manual:Cr ... rtificates,

Mikrotik has a tutorial, how to access openvpn from macbook osx and windows 7 as a client ??
in many tutorials , macbook using tunnelblick applications and windows 7 using the application of openvpn.net


best regards

Re: mikrotik openvpn server - Mac osx and windows 7 client

Posted: Sun Jun 12, 2016 1:36 am
by olkitu
http://wiki.mikrotik.com/wiki/OpenVPN#C ... figuration

Here is manual how to connect Windows and Linux to OpenVPN. You must create .ovpn config file where have connection settings. That setting use to connect to your OpenVPN Server (Mikrotik)

Re: mikrotik openvpn server - Mac osx and windows 7 client

Posted: Wed Jun 15, 2016 12:11 am
by cendrawasih
http://wiki.mikrotik.com/wiki/OpenVPN#C ... figuration

Here is manual how to connect Windows and Linux to OpenVPN. You must create .ovpn config file where have connection settings. That setting use to connect to your OpenVPN Server (Mikrotik)
@olkitu
do you have sample user config for mac or windows ?
al least successfully test.

regards

Re: mikrotik openvpn server - Mac osx and windows 7 client

Posted: Wed Jun 15, 2016 7:18 pm
by olkitu
client
dev tun
proto tcp
resolv-retry infinite
nobind
remote vpn.example.org 1194 #

#Root CA
<ca>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</ca>

# Client certificate
<cert>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</cert>

#Private Key
<key>
-----BEGIN PRIVATE KEY-----
-----END PRIVATE KEY-----
</key>

tls-client
port 1194
user nobody
group nogroup

#comp-lzo # Do not use compression. It doesn't work with RouterOS (at least up to RouterOS 3.0rc9)

# More reliable detection when a system loses its connection.
ping 15
ping-restart 10
ping-timer-rem
persist-tun
persist-key

# Silence  the output of replay warnings, which are a common false
# alarm on WiFi networks.  This option preserves the  security  of
# the replay protection code without the verbosity associated with
# warnings about duplicate packets.
mute-replay-warnings

# Verbosity level.
# 0 = quiet, 1 = mostly quiet, 3 = medium output, 9 = verbose
verb 3
cipher AES-256-CBC
auth SHA1
pull
route-nopull
route 192.168.1.0 255.255.255.0
push "dhcp-option DNS 8.8.8.8
auth-user-pass
Here is sample config. It work Windows, Android and iOS on OpenVPN software. I think it work OS X too.