Community discussions

MikroTik App
 
cendrawasih
just joined
Topic Author
Posts: 4
Joined: Mon Dec 02, 2013 3:54 pm

mikrotik openvpn server - Mac osx and windows 7 client

Sat Jun 11, 2016 7:43 am

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
 
olkitu
Frequent Visitor
Frequent Visitor
Posts: 51
Joined: Sat Feb 20, 2016 7:04 pm

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

Sun Jun 12, 2016 1:36 am

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)
Network Specialist

Need know where is cellular tower? Try CellMapper to get know where is cellular tower:
https://www.cellmapper.net/map
 
cendrawasih
just joined
Topic Author
Posts: 4
Joined: Mon Dec 02, 2013 3:54 pm

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

Wed Jun 15, 2016 12:11 am

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
 
olkitu
Frequent Visitor
Frequent Visitor
Posts: 51
Joined: Sat Feb 20, 2016 7:04 pm

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

Wed Jun 15, 2016 7:18 pm

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.
Network Specialist

Need know where is cellular tower? Try CellMapper to get know where is cellular tower:
https://www.cellmapper.net/map

Who is online

Users browsing this forum: Google [Bot] and 74 guests