Page 1 of 1

1min Connect and Discconect OPENVPN

Posted: Sat Jul 25, 2015 5:28 pm
by christianrodher
Having problem setting mikrotik with paid openvpn service. Whats wrong with their configuration? Mikrotik connects and disconnect. doesnt give ip or webaccesss. Firewall rule and everything is set... other protocols work fine, but they are slow.

openvpn server:
dev tun
proto udp
remote ip xxx.xxx.xxx.xxx
port: 443
resolv-retry infinite
remote-cert-tls server
nobind
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
ca ca.crt
auth-user-pass
comp-lzo
fast-io
ping-restart 0
route-delay 2
route-method exe
script-security 3 system
mute-replay-warnings
verb 3

Re: 1min Connect and Discconect OPENVPN

Posted: Sat Jul 25, 2015 11:07 pm
by pe1chl
proto udp.
That is not going to work with MikroTik.
should be proto tcp (or actually: MikroTik should support udp)

Re: 1min Connect and Discconect OPENVPN

Posted: Sun Jul 26, 2015 8:18 pm
by christianrodher
proto udp.
That is not going to work with MikroTik.
should be proto tcp (or actually: MikroTik should support udp)
can a port support both protocol at the same time? I think that port is tcp and udp

Re: 1min Connect and Discconect OPENVPN

Posted: Sun Jul 26, 2015 10:58 pm
by pe1chl
It is possible to support both tcp and udp on the same port in general, but unfortunately OpenVPN cannot do it.
When your provider has specified udp, you are out of luck with a MikroTik router.

Re: 1min Connect and Discconect OPENVPN

Posted: Mon Jul 27, 2015 1:51 am
by christianrodher
It is possible to support both tcp and udp on the same port in general, but unfortunately OpenVPN cannot do it.
When your provider has specified udp, you are out of luck with a MikroTik router.
so thats is what is causing mikrotik to connect then disconnected? the protocol udp?

Re: 1min Connect and Discconect OPENVPN

Posted: Mon Jul 27, 2015 12:06 pm
by pe1chl
MikroTIk can do OpenVPN only over TCP. Not UDP.
When your provider can do only UDP and no TCP, it is end of story.