Passing H.323 ALG Traffic to a Gatekeeper in the Internal Zone
In the following example, you set up two policies
that allow H.323 traffic to pass between IP phone hosts and a gatekeeper
in the private zone, and an IP phone host (2.2.2.5) in the public
zone.
To configure an address book, to configure a a
policy from the internal zone to the external zone, and to configure
policies from the external zone to the internal zone using the J-Web
configuration editor, follow the sequence of steps listed below:
To configure an address book:
Select Configuration > View and Edit > EditConfiguration.
The Configuration page appears.
Next to Security, click Configure or Edit.
Next to Zones, click Configure or Edit.
Next to Security zones, click Add new entry.
In the Name box, type public.
Next to Address book, click Configure or Edit.
Next to Address, click Add new entry.
In the Address name box, type ip_phone 2.2.2.5/32 and click OK.
To configure a policy from the internal zone to
the external zone:
Select Configuration > View and Edit > Edit Configuration.
The Configuration page appears.
Next to Security, click Configure or Edit.
Next to Policies, select the check box and click Configure or Edit.
Next to Policy, click Add new entry.
In the From-zone name box, type private.
In the To-zone name box, type public and click OK.
Under the From zone name column, click private.
Next to Policy, click Add new entry.
In the Policy name box, type p1.
Select the Match check box.
Select the Then check box.
Next to Match, click Configure.
From the Source address list, select Source address.
Next to Source address, click Add new entry.
From the Value keyword list, select any and click OK.
From the Destination address choice list, select Destination
address.
Next to destination address, click Add new entry.
From the Value keyword list, select Enter Specific
Value.
In the Address box, type ip_phone and click OK.
From the Application choice list, select Application.
Next to Application, click Add new entry.
In the Value keyword box, type junos-h323 and
click OK.
Next to Then, click Configure.
Next to Action, select permit and click OK.
To configure policies from the external zone to
the internal zone:
Select Configuration > View and Edit > Edit Configuration.
The Configuration page appears.
Next to Security, click Configure or Edit.
Next to Policies, select the check box and click Configure or Edit.
Under From zone name column, click private.
Next to Policy, click Add new entry.
In the From zone name box, type private.
In the To zone name box, type public and click OK.
Under the From zone name column, click private.
Next to Policy, click Add new entry.
In the Policy name box, type p2.
Select the Match check box.
Select the Then check box.
Next to Match, click Configure.
From the Source address list, select Source address.
Next to Source address, click Add new entry.
From the Value keyword list, select any and click OK.
Next to Destination address, click Add new entry.
From the Value keyword list, select Enter Specific
Value.
In the Address box, type ip_phone and click OK.
Next to Application, click Add new entry.
In the Value keyword box, type junos-h323 and
click OK.
Next to Then, click Configure.
From the Action list, select permit and click OK.
If you are finished configuring the J-series device, commit
the configuration.
CLI Configuration
To configure an address book, to configure a policy
from the internal zone to the external zone, and to configure policies
from the external zone to the internal zone, follow the sequence of
steps listed below:
Configure an address book.
user@host# set security zones security-zone public
address-book address ip_phone 2.2.2.5/32
Configure a policy from the internal zone to the external
zone.
user@host# set security policies from-zone private
to-zone public policy p1 match source-address any
user@host# set security policies from-zone private
to-zone public policy p1 match destination-address ip_phone
user@host# set security policies from-zone private
to-zone public policy p1 match application junos-h323
user@host# set security policies from-zone private
to-zone public policy p1 then permit
Configure policies from the external zone to the internal
zone.
user@host# set security policies from-zone public to-zone
private policy p2 match source-address any
user@host# set security policies from-zone public to-zone
private policy p2 match destination-address ip_phone
user@host# set security policies from-zone public to-zone
private policy p2 match application junos-h323
user@host# set security policies from-zone public to-zone
private policy p2 then permit
If you are finished configuring the J-series device, commit
the configuration.