Community discussions

MikroTik App
 
MRACHINI
just joined
Topic Author
Posts: 10
Joined: Fri Feb 26, 2016 12:53 am

OpenVPN Client, Working With "Ubuntu OVPN Server" But NOT With "Windows OVPN Server"

Sun Apr 10, 2016 4:13 am

Hello,

So i was trying to deploy my own OpenVPN server and connect my router as client, so i can route everything.

what i faced was that when i start the OVPN server with the same settings on both Ubuntu and windows,
my router is able to connect to both successfully, but routing only works when OVPN server is on Ubuntu!

this is the OVPN server file:
port 23
proto tcp
dev tun
sndbuf 0
rcvbuf 0
ca ca.crt
cert server.crt
key server.key
dh dh.pem
topology subnet
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
keepalive 10 120
#comp-lzo (disabled this so it works on mikrotik)!
persist-key
persist-tun
status openvpn-status.log
verb 3
crl-verify crl.pem
again, this setup is working perfectly when OVPN server is on ubuntu, but when ovpn server is on windows 7, it connects but routing traffic doesn't work.

any ideas !?
 
MRACHINI
just joined
Topic Author
Posts: 10
Joined: Fri Feb 26, 2016 12:53 am

Re: OpenVPN Client, Working With "Ubuntu OVPN Server" But NOT With "Windows OVPN Server"

Wed Apr 13, 2016 3:54 pm

bump!
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7192
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: OpenVPN Client, Working With "Ubuntu OVPN Server" But NOT With "Windows OVPN Server"

Wed Apr 13, 2016 4:16 pm

Enable logs on windows server and see exactly what windows does not like.
 
falconcic2016
just joined
Posts: 1
Joined: Thu Apr 28, 2016 1:24 am

Re: OpenVPN Client, Working With "Ubuntu OVPN Server" But NOT With "Windows OVPN Server"

Thu Apr 28, 2016 1:34 am

Hi,

Could anyone assist I am trying to set an OVPN Client on my Mikrotik?, but I only get Status: Disconnected,

Mikrotik Model: 2011UiAS
Firmware: 3.24

OpenVPN Server is running on Linux RoadWarrior

I've created the OVPN client interface, loaded the certificates, but still no go, OpenVPN server is TUN, thus Mode is on IP,

Who is online

Users browsing this forum: mkx and 73 guests