Print Download PDF Send Feedback

Previous

Next

SIP Security Rules

Define security rules to allow bidirectional calls, incoming or outgoing calls. The examples that follow show you how to define bidirectional rules.

Important - You must configure anti-spoofing on the Check Point gateway interfaces for VoIP.

Note – The old policy rules are still intact for calls already in-progress and they will not be dropped.

SIP Rules for a Peer-to-Peer No-Proxy Topology

VoIP rules for this scenario:

Source

Destination

Services & Applications

Action

Comments

Net_A

Net_B

Net_B

Net_A

UDP:sip

Accept

SIP over UDP
Bidirectional Calls

OR

Source

Destination

Services & Applications

Action

Comments

Net_A

Net_B

Net_B

Net_A

SIP over TCP service

Accept

SIP over TCP
Bidirectional Calls

To configure SIP rules for this type of peer-to-peer topology.

  1. Define a rule that allows IP phones in Net_A to call Net_B and the reverse.
    • Choose SIP over UDP

      OR

    • SIP over TCP
  2. Define Hide NAT or Static NAT for the phones in the internal network. Edit the network object for Net_A.
    1. From SmartConsole, in the Objects tab > Search at the right, select the network object and double-click.

      The Network window opens.

    2. Select NAT (+) > Advanced.
    3. Check the box Add automatic address translation rules to hide this Gateway behind another Gateway.
    4. Select the Translation method, Hide or Static.

      If you select Hide NAT:

      • Create a node object with the Hide NAT IP address
      • Select the Security Policies tab.
      • Add the service to the Services & Applications column.
      • Add the node object to the Destination of the rule.
  3. Install the Security Policy.

SIP Rules for a Proxy in an External Network

This illustration shows a SIP topology with a proxy in an external network.

VoIP rules for this scenario:

Source

Destination

Services & Applications

Action

Comments

SIP_Proxy
Net_A

Net_A
SIP_Proxy

UDP:sip

Accept

SIP over UDP
Bidirectional Calls

OR

Source

Destination

Services and Applications

Action

Comments

SIP_Proxy
Net_A

Net_A
SIP_Proxy

SIP over TCP
service

Accept

SIP over TCP
Bidirectional Calls

To allow bidirectional calls between SIP phones in internal and external networks:

  1. Define network objects (nodes or networks) for IP phones that are:
    • Managed by the SIP Proxy or Registrar
    • Permitted to make calls, and those calls inspected by the gateway. In the image, these are Net_A.
  2. Define the network object for the SIP Proxy (SIP_Proxy).

    If the proxy is on a server that has one IP address, define only one object. If the proxy and server are on the same server but have different IP addresses, define an object for each IP address.

    1. From SmartConsole, in the Objects tab > Search at the right, select the network object and double-click.
    2. The Network window opens.
    3. Select NAT > Advanced.
    4. Check the box Add automatic address translation rules to hide this Gateway behind another Gateway.
    5. Select the Translation method, Hide or Static.

      If you select Hide NAT:

      • Create a node object with the Hide NAT IP address
      • Select the Security Policies tab.
      • Add the service to the Services & Applications column.
      • Add the node object to the Destination of the rule.

SIP Rules for a Proxy-to-Proxy Topology

The image illustrates a Proxy-to-Proxy topology with Net_A and Net_B on opposite sides of the gateway.

VoIP rules for this scenario:

Source

Destination

Services & Applications

Action

Comments

Proxy_A

Proxy_B

Proxy_B

Proxy_A

UDP:sip

Accept

SIP over UDP
Bidirectional calls

OR

Source

Destination

Services & Applications

Action

Comment

Proxy_A

Proxy_B

Proxy_B

Proxy_A

SIP over TCP

Accept

SIP over TCP
Bidirectional calls

To allow bidirectional calls between phones:

  1. Define the network objects (nodes or networks) for the phones permitted to make calls, and the calls subject to gateway inspection.

    In the image above, Net_A represents these phones.

  2. Define the network object for the proxy objects (Proxy_A and Proxy_B).
  3. Define the VoIP rule.
  4. Define Hide NAT or Static NAT for the phones in the internal network. Do this by editing the network object for the internal network (Net_A).
    1. From SmartConsole, in the Objects tab > Search at the right, select the network object and double-click.

      The Network window opens.

    2. Select NAT > Advanced.
    3. Check the box Add automatic address translation rules to hide this Gateway behind another Gateway.
    4. Select the Translation method, Hide or Static.

      If you select Hide NAT:

      • Create a node object with the Hide NAT IP address
      • Select the Security Policies tab.
      • Add the service to the Services & Applications column.
      • Add the node object to the Destination of the rule.

SIP Rules for a Proxy in DMZ Topology

The image illustrates a SIP-based VoIP topology where a proxy is installed in the DMZ.

VoIP rules for this scenario:

Source

Destination

Services & Applications

Action

Comments

Proxy_DMZ

Net_A

Net_B

Net_A

Net_B

Proxy_DMZ

UDP:sip

Accept

SIP over UDP
Bidirectional Calls

OR

Source

Destination

Services & Applications

Action

Comments

Proxy_DMZ

Net_A

Net_B

Net_A

Net_B

Proxy_DMZ

SIP over TCP
Service

Accept

SIP over TCP
Bidirectional Calls

Allow bidirectional calls between phones in internal and external networks (Net_A and Net_B) and define NAT for the internal phones and the proxy in the DMZ (Proxy_DMZ).

  1. Define network objects (nodes or networks) for phones that are permitted to make calls and for calls inspected by the gateway. These are Net_A and Net_B.
  2. Define the network object for the proxy (Proxy_DMZ).
  3. Configure the VoIP rules.
  4. Define Hide NAT or Static NAT for the phones in the internal network.
    1. From SmartConsole, in the Objects tab > Search at the right, select the network object and double-click.

      The Network window opens.

    2. Check the box Add automatic address translation rules to hide this Gateway behind another Gateway.
    3. Select the Translation method, Hide or Static.

      If you select Hide NAT:

      • Create a node object with the Hide NAT IP address
      • Select the Security Policies tab.
      • Add the service to the Services & Applications column.
      • Add the node object to the Destination of the rule.