Answer the question
In order to leave comments, you need to log in
Why is Mikrotik OpenVPN client not connecting to the server?
OVPN server - Ubuntu 16.04, client - Mikrotik (ROS 6.42.6). Firewall is configured like this:
/ip firewall filter> print
Flags: X - disabled, I - invalid, D - dynamic
0 ;;; Allow IGMP
chain=input action=accept protocol=igmp in-interface=ether1wan log=no log-prefix=""
1 ;;; IPTV UDP incoming
chain=input action=accept protocol=udp in-interface=ether1wan dst-port=1234 log=no log-prefix=""
2 ;;; IPTV UDP forwarding
chain=forward action=accept protocol=udp dst-port=1234 log=no log-prefix=""
3 ;;; Allow ICMP
chain=input action=accept protocol=icmp log=no log-prefix=""
4 ;;; default drop
chain=input action=drop in-interface=ether1wan log=no log-prefix=""
Answer the question
In order to leave comments, you need to log in
Solution: you need to allow established connections (rule 4).
0 ;;; Allow IGMP
chain=input action=accept protocol=igmp in-interface=ether1wan log=no log-prefix=""
1 ;;; IPTV UDP incoming
chain=input action=accept protocol=udp in-interface=ether1wan dst-port=1234 log=no log-prefix=""
2 ;;; IPTV UDP forwarding
chain=forward action=accept protocol=udp dst-port=1234 log=no log-prefix=""
3 ;;; Allow ICMP
chain=input action=accept protocol=icmp log=no log-prefix=""
4 ;;; Allow established connections
chain=input action=accept connection-state=established log=no log-prefix=""
5 ;;; default drop
chain=input action=drop in-interface=ether1wan log=no log-prefix="dropall"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question