Page 1 of 1

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

Posted: Sun Apr 10, 2016 4:13 am
by MRACHINI
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 !?

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

Posted: Wed Apr 13, 2016 3:54 pm
by MRACHINI
bump!

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

Posted: Wed Apr 13, 2016 4:16 pm
by mrz
Enable logs on windows server and see exactly what windows does not like.

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

Posted: Thu Apr 28, 2016 1:34 am
by falconcic2016
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,