A Step-by-Step Guide to Port Forwarding on MikroTik Router for Vicidial Remote Agents
In today’s remote work landscape, maintaining a seamless connection between your Vicidial call center software and remote agents is crucial. One way to achieve this is by correctly configuring port forwarding on your MikroTik router. This guide will walk you through the process, ensuring your remote agents can access Vicidial without any hiccups.
Why Port Forwarding Matters
Port forwarding is essential for enabling external access to specific devices or services within your local network. In the context of Vicidial, it allows remote agents to connect to the call center software securely. Without proper port forwarding, remote access can be challenging or impossible.
Before diving into the configuration, make sure you have the following:
- A MikroTik router.
- Access to the router’s web interface or Winbox.
- Vicidial already set up and running within your local network.
Step 1-1: Determine the Port Numbers
Vicidial relies on various ports for its operations. Common ports you need to forward include:
- Port TCP 80: For HTTP access to the Vicidial web interface.
- Port TCP 443: For HTTPS access (recommended for security).
- Port TCP 8089 : for Agent Web Phone.
- Port UDP 5060: For SIP signaling.
- Port UDP 5061: For secure SIP signaling (optional but recommended).
- Port UDP 10000-20000: For voice RTP packets.
Its recommemded to change SIP 5060 port to any other port number for example I have changed to 6566
Step 1-2: Determine the IP Address for VICIDIAL & Public IP we are going to map.
MY public IP address is 22.214.171.124
Vicidial server IP address is 192.168.88.220
If you have not changed 5060 port then
use below lines
add action=dst-nat chain=dstnat dst-address=126.96.36.199 dst-port=5060 protocol=udp to-addresses=192.168.88.220 to-ports=5060 add action=dst-nat chain=dstnat dst-address=188.8.131.52 dst-port=5061 protocol=udp to-addresses=192.168.88.220 to-ports=5061