Is there any way to connect from Mikrotik router as vpn client to Nethserver?

(Zoltán Polyák) #1

NethServer Version: 7.4
Module: your_module

(Dan) #2

Does the router support acting as an IPsec or OpenVPN client?

(Zoltán Polyák) #3

yes, as openvpn client but not support udp

(Zoltán Polyák) #4

Is it possible to change udp to tcp? Or how can i get back l2tp/ipsec under v7? On V6 that was the only solution to use mikrotik with nethserver…

(Dan) #5

IPsec is still supported in v7.

(Zoltán Polyák) #6

Yes, without l2tp…

(Eddie Atherton) #7

You could create this file: /etc/e-smith/templates-custom/etc/openvpn/host-to-net.conf/15tcp containing:

proto tcp

Unfortunately, I’m not sure which event needs to be run following this to re-build the host-to-net.conf file. I’m sure someone else will chime in on this. Or, in the meantime, you could just add that line to /etc/openvpn/host-to-net.conf and re-start the service. The above file will protect you against future updates re-building the file.

** Edit ** You will also have to open the firewall, as by default port 1194 is only opened to UDP.