ROS: 7.0beta3
OpenVPN UDP: The connection to the server occurs, but it is not navigated through the VPN.
Configuration:
Code: Select all
[admin@rt01_v7] > /export hide-sensitive
# oct/24/2019 09:40:35 by RouterOS 7.0beta3
# software id =
#
# model = RouterBOARD mAP L-2nD
# serial number = 73B207163703
/interface bridge
add fast-forward=no name=loopback600 protocol-mode=none
/interface wireless
set [ find default-name=wlan1 ] ssid=MikroTik
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/ppp profile
add local-address=172.18.0.1 name=pVPN remote-address=172.18.0.2 use-ipv6=no use-mpls=no use-upnp=no
/interface ovpn-server server
set auth=sha1 certificate=server_ovpn.crt cipher=aes128,aes192,aes256 default-profile=pVPN enabled=yes port=1198 protocol=udp \
require-client-certificate=yes
/ip address
add address=192.168.134.1 interface=loopback600 network=192.168.134.1
/ip dhcp-client
add dhcp-options=clientid,clientid_duid,hostname disabled=no interface=ether1
/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether1
add action=masquerade chain=srcnat out-interface=all-ppp
/ip firewall service-port
set ftp disabled=yes
set tftp disabled=yes
set irc disabled=yes
set h323 disabled=yes
set sip disabled=yes
set pptp disabled=yes
set udplite disabled=yes
set dccp disabled=yes
set sctp disabled=yes
/ip service
set www-ssl certificate=www-ssl.crt disabled=no
#error exporting /ipv6/route/rule
/ppp secret
add name=ops12 profile=pVPN service=ovpn
#error exporting /routing/policy/selection
/system clock
set time-zone-name=Europe/Madrid
/system identity
set name=rt01_v7
/system package update
set channel=development
Logs:
09:54:30 ovpn,debug <X.X.X.X>: disconnected <poll error>
Captures:
Regards.