3CX Firewall Ports: Difference between revisions

From SWKLS WIKI
Jump to navigation Jump to search
(Created page with "FW NAT Rules for 3CX <syntaxhighlight lang="bash"> add action=dst-nat chain=dstnat comment="3CX TCP 5090" dst-address=11.22.33.44 dst-port=5090 protocol=tcp to-addresses=192....")
 
No edit summary
 
Line 1: Line 1:
FW NAT Rules for 3CX
FW NAT Rules for 3CX
WAN IP = 11.22.33.44
Private IP = 192.168.90.100


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">

Latest revision as of 19:33, 25 March 2022

FW NAT Rules for 3CX

WAN IP = 11.22.33.44 Private IP = 192.168.90.100

add action=dst-nat chain=dstnat comment="3CX TCP 5090" dst-address=11.22.33.44 dst-port=5090 protocol=tcp to-addresses=192.168.90.100 to-ports=5090
add action=dst-nat chain=dstnat comment="3CX UDP 5090" dst-address=11.22.33.44 dst-port=5090 protocol=udp to-addresses=192.168.90.100 to-ports=5090
add action=dst-nat chain=dstnat comment="3CX TCP 5001" dst-address=11.22.33.44 dst-port=5001 protocol=tcp to-addresses=192.168.90.100 to-ports=5001
add action=dst-nat chain=dstnat comment="3CX TCP 5060" dst-address=11.22.33.44 dst-port=5060 protocol=tcp to-addresses=192.168.90.100 to-ports=5060
add action=dst-nat chain=dstnat comment="3CX TCP 5061" dst-address=11.22.33.44 dst-port=5061 protocol=tcp to-addresses=192.168.90.100 to-ports=5061
add action=dst-nat chain=dstnat comment="3CX UDP 9000-10999 Media (RTP)" dst-address=11.22.33.44 dst-port=9000-10999 protocol=udp to-addresses=192.168.90.100 to-ports=9000-10999
add action=dst-nat chain=dstnat comment="3CX UDP 5060" dst-address=11.22.33.44 dst-port=5060 protocol=udp to-addresses=192.168.90.100 to-ports=5060