Howto14r2:Firewall Settings: Difference between revisions
Created page with "<!-- Keywords: firewall settings, ports, workload, turn config, policies, firewall rules, firewall, tapete --> ==Applies To== This information applies to V13 and up ==Scenario: Reverse Proxy, TURN and SBC in a DMZ== Here we would like to give an overview of the necessary ports and protocols for Reverse Proxy, TURN and SBC in the DMZ. ===Firewall Configuration=== *Before you can setup your Firewall you have to read the book Course13:IT_Connect_-_10.0_Reverse_Proxy|..." |
No edit summary |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
This information applies to | This information applies to | ||
14r2 and up | |||
==Scenario: Reverse Proxy, TURN and SBC in a DMZ== | ==Scenario: Reverse Proxy, TURN and SBC in a DMZ== | ||
Line 11: | Line 11: | ||
===Firewall Configuration=== | ===Firewall Configuration=== | ||
*Before you can setup your Firewall you have to read the book [[ | *Before you can setup your Firewall you have to read the book [[Courseware:IT_Advanced_-_06_Public_Access_to_PBX_Resources_(theory)_-_optional|Reverse Proxy]]. | ||
Line 51: | Line 51: | ||
|| / | || / | ||
|- | |- | ||
| H.323 (tcp/1300)<br> | | H.323/TLS (tcp/1300)<br> | ||
''• <span style="font-size:11px;">optionally H.323 (tcp/1720) if you need plaintext</span>''<br> | ''• <span style="font-size:11px;">optionally H.323 (tcp/1720) if you need plaintext</span>''<br> | ||
''• <span style="font-size:11px;">needed if you want to offer Phone registrations</span>'' | ''• <span style="font-size:11px;">needed if you want to offer Phone registrations</span>'' | ||
|| / | || / | ||
|| H.323 (tcp/1300)<br> | || H.323/TLS (tcp/1300)<br> | ||
''• <span style="font-size:11px;">optionally H.323 (tcp/1720) if you need plaintext or username/password auths with invalid certificates</span>''<br> | ''• <span style="font-size:11px;">optionally H.323 (tcp/1720) if you need plaintext or username/password auths with invalid certificates</span>''<br> | ||
''• <span style="font-size:11px;">needed if you want to offer Phone registrations</span>'' | ''• <span style="font-size:11px;">needed if you want to offer Phone registrations</span>'' | ||
Line 74: | Line 74: | ||
''• <span style="font-size:11px;">optionally SIP (tcp/5060) if you need plaintext</span>'' | ''• <span style="font-size:11px;">optionally SIP (tcp/5060) if you need plaintext</span>'' | ||
|- | |- | ||
| / | | SMTPS (tcp/587)<br> | ||
''• <span style="font-size:11px;">optionally SMTP (tcp/25) if you need plaintext</span>''<br> | |||
''• <span style="font-size:11px;">needed if you want to use the E-Mail-Server inside the App Platform</span>'' | |||
|| / | |||
|| / | |||
|| SMTPS (tcp/587)<br> | |||
''• <span style="font-size:11px;">optionally SMTP (tcp/25) if you need plaintext</span>''<br> | |||
''• <span style="font-size:11px;">needed if you want to use the E-Mail-Server inside the App Platform</span>'' | |||
|| / | |||
|| / | |||
|- | |||
|- | |||
| RTP (udp/16384-32767, [[Reference13r3:Concept_myApps_platform_services#RTP_service_for_audio.2C_video_and_data|udp/50000-50299]])<br> | |||
''• <span style="font-size:11px;">needed if you want to use RTP instead of TURN to inside. (eg. SIP Trunk with Media-Relay, TURN Server in DMZ, 3rd-party SIP phones that dont support TURN)</span>'' | |||
|| RTP (udp/16384-32767, [[Reference13r3:Concept_myApps_platform_services#RTP_service_for_audio.2C_video_and_data|udp/50000-50299]])<br> | || RTP (udp/16384-32767, [[Reference13r3:Concept_myApps_platform_services#RTP_service_for_audio.2C_video_and_data|udp/50000-50299]])<br> | ||
''• <span style="font-size:11px;">needed if you want to use RTP instead of TURN to inside. (eg. SIP Trunk with Media-Relay, TURN Server in DMZ)</span>'' | ''• <span style="font-size:11px;">needed if you want to use RTP instead of TURN to inside. (eg. SIP Trunk with Media-Relay, TURN Server in DMZ)</span>'' | ||
Line 87: | Line 100: | ||
=== Port Forwardings === | === Port Forwardings === | ||
If you have to use port forwardings often some of the needed ports are also needed by other systems (eg. Microsoft Exchange OWA access via tcp/443). If you run into this problem you have to forward the port to the reverse proxy and create rules (based on hostname) inside the reverse proxy to forward the traffic to the correct system. | If you have to use port forwardings often some of the needed ports are also needed by other systems (eg. Microsoft Exchange OWA access via tcp/443). If you run into this problem you have to forward the port to the reverse proxy and create rules (based on hostname) inside the reverse proxy to forward the traffic to the correct system. | ||
If you have multiple external ip addreses you can also use a separate ip address per system. See also [[ | If you have multiple external ip addreses you can also use a separate ip address per system. See also [[Howto14r2:Installation_Scenarios#Possible_scenarios_if_port_443_is_already_in_use|Possible scenarios if port 443 is already in use]]. | ||
== The complete Workload Picture == | == The complete Workload Picture == | ||
[[Image: | [[Image:14r2-workload.jpg|500px]] | ||
== Related Articles == | == Related Articles == | ||
* [[Howto:Innovaphones_public_services]] | * [[Howto:Innovaphones_public_services]] | ||
* [[ | * [[Courseware:IT_Advanced_-_06_Public_Access_to_PBX_Resources_(theory)_-_optional]] | ||
* [[Courseware:IT_Advanced_-_07_Public_access_to_PBX_resources_(practice)]] | |||
* [[ | |||
[[Category:Howto|{{PAGENAME}}]] | [[Category:Howto|{{PAGENAME}}]] |
Latest revision as of 14:18, 10 April 2025
Applies To
This information applies to
14r2 and up
Scenario: Reverse Proxy, TURN and SBC in a DMZ
Here we would like to give an overview of the necessary ports and protocols for Reverse Proxy, TURN and SBC in the DMZ.
Firewall Configuration
- Before you can setup your Firewall you have to read the book Reverse Proxy.
WAN ⇒ DMZ | DMZ ⇒ inside (Endpoints) | DMZ ⇒ inside (PBX) | DMZ ⇒ inside (AP) | inside ⇒ DMZ | DMZ ⇒ WAN |
---|---|---|---|---|---|
STUN/TURN (udp/tcp/3478) | / | / | / | STUN/TURN (udp/tcp/3478) |
/ |
TURN Extern (tcp/xxxx) • optionally TCP Port if you configure a fallback way |
/ | / | / | TURN Extern (tcp/xxxx) • optionally TCP Port if you configure a fallback way |
/ |
LDAPS (tcp/636) • optionally LDAP (tcp/389) if you need plaintext |
/ | LDAPS (tcp/636) • optionally LDAP (tcp/389) if you need plaintext |
LDAPS (tcp/636) • optionally LDAP (tcp/389) if you need plaintext |
/ | / |
HTTPS/WSS (tcp/443) • optionally HTTP/WS (tcp/80) if you need plaintext |
/ | HTTPS/WSS (tcp/443) • optionally HTTP/WS (tcp/80) if you need plaintext |
HTTPS/WSS (tcp/443) • optionally HTTP/WS (tcp/80) if you need plaintext |
HTTPS (tcp/<your custom port>) • Advanced UI admin access |
/ |
H.323/TLS (tcp/1300) • optionally H.323 (tcp/1720) if you need plaintext |
/ | H.323/TLS (tcp/1300) • optionally H.323 (tcp/1720) if you need plaintext or username/password auths with invalid certificates |
/ | / | / |
SIPS (tcp/5061) • optionally SIP (tcp/5060) if you need plaintext |
/ | SIPS (tcp/5061) • optionally SIP (tcp/5060) if you need plaintext |
/ | / | SIPS (tcp/5061) • optionally SIP (tcp/5060) if you need plaintext |
SMTPS (tcp/587) • optionally SMTP (tcp/25) if you need plaintext |
/ | / | SMTPS (tcp/587) • optionally SMTP (tcp/25) if you need plaintext |
/ | / |
RTP (udp/16384-32767, udp/50000-50299) • needed if you want to use RTP instead of TURN to inside. (eg. SIP Trunk with Media-Relay, TURN Server in DMZ, 3rd-party SIP phones that dont support TURN) |
RTP (udp/16384-32767, udp/50000-50299) • needed if you want to use RTP instead of TURN to inside. (eg. SIP Trunk with Media-Relay, TURN Server in DMZ) |
/ | / | RTP (udp/16384-32767, udp/50000-50299) • needed if you want to use RTP instead of TURN to DMZ. (eg. SIP Trunk with Media-Relay, TURN Server in DMZ) |
RTP (udp/xxx) • xxx are the negotiated ports in context of the outgoing sip/udp connection. The ports depend on your SIP Provider |
Port Forwardings
If you have to use port forwardings often some of the needed ports are also needed by other systems (eg. Microsoft Exchange OWA access via tcp/443). If you run into this problem you have to forward the port to the reverse proxy and create rules (based on hostname) inside the reverse proxy to forward the traffic to the correct system. If you have multiple external ip addreses you can also use a separate ip address per system. See also Possible scenarios if port 443 is already in use.