Question
How do I configure port forwarding on my Mikrotik to direct traffic to the server running cloudflared?
Asked by: USER7191
102 Viewed
102 Answers
Responsive Ad After Question
Answer (102)
On your Mikrotik, you'll need to create a NAT rule. Go to IP -> Firewall -> NAT. Add a new rule with the following: Chain: `dstnat`, Protocol: `tcp` or `udp` (depending on your service), Dst. Port: the port you want to forward (e.g., 80, 443), In. Interface: your WAN interface, Action: `dst-nat`, To Addresses: the IP address of the server running `cloudflared`, To Ports: the port `cloudflared` is listening on locally.