To configure policies:
- 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.
- Next to Policy, click Add new entry.
- In the From zone name box, type private.
- In the To zone name box, type dmz.
- Next to Policy, click Add new entry.
- In the Policy name box, type private-to-proxy.
- Select the Match check box.
- Select the Then check box.
- Next to Match check box, click Configure.
- From the Source address choice list, select Source
address.
- Next to Source address, click Add new entry.
- From the Value keyword list, select Enter Specific
Value.
- In the Address box, type phone1 and click OK.
- From the Destination address choice list, select Destination
address.
- Next to Destination address, click Add new entry.
- Next to Value keyword list, select proxy and
click OK.
- From the Application choice list, select Application.
- Next to Application, click Add new entry.
- In the Value keyword box, type junos-sip and click OK.
- Next to Then, click Configure.
- Next to Action, select permit.
- Click Configure next to Permit.
- Next to Source nat, select the check box and click Configure.
- From the Source nat choice list, select interface and
click OK.
To configure from zone, public, and to zone, dmz, and
the respective source address, destination address, and application,
follow the sequence of steps listed below:
- 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.
- Next to Policy, click Add new entry
- In the From zone name box, type public.
- In the To zone name box, type private.
- Next to Policy, click Add new entry.
- In the Policy name box, type public-to-proxy.
- Select the Match check box.
- Select the Then check box.
- Click Configure next to Match check box.
- Next to Source address choice list select Source address.
- Next to Source address, click Add new entry.
- From the Value keyword list, type phone2 and click OK.
- From the Destination address choice list, select Destination
address.
- Next to Destination address, click Add new entry.
- Next to Value keyword list, select Enter Specific
Value.
- To specify the address, type proxy and click OK.
- From the Application choice list, select Application.
- Next to Application, click Add new entry.
- Next to Value keyword box, type junos-sip and click OK.
- Next to Then, click Configure.
- Next to Action, select permit and click OK.
To configure from zone, private, and to zone, public,
and the respective source address, destination address, and application,
follow the sequence of steps listed below:
- 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.
- Next to Policy, click Add new entry.
- In the From zone name box, type private.
- In the To zone name box, type public.
- Next to Policy, click Add new entry.
- In the Policy name box, type private-to-public.
- Select the Match check box.
- Select the Then check box.
- Next to Match check box, click Configure.
- From the Source address choice list, select Source
address.
- Next to Source address, click Add new entry.
- From the Value keyword list, select Enter Specific
Value.
- In the Address box, type phone1 and click OK.
- From the Destination address choice list, select Destination
address.
- Next to Destination address, click Add new entry.
- Next to Value keyword list, type phone2 and click OK.
- From the Application choice list, select Application.
- Next to Application, click Add new entry.
- In the Value keyword box, type junos-sip and click OK.
- Next to Then, click Configure.
- Next to Action, select permit.
- Click Configure next to Permit.
- Next to Source nat, select the check box and click Configure.
- From the Source nat choice list, select interface and click OK.
To configure from zone, dmz, and to zone, private, and
the respective source address, destination address, and application,
follow the sequence of steps listed below:
- 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.
- Next to Policy, click Add new entry
- In the From zone name box, type dmz.
- In the To zone name box, type private.
- Next to Policy, click Add new entry.
- In the Policy name box, type proxy-to-private.
- Select the Match check box.
- Select the Then check box.
- Click Configure next to Match check box.
- Next to Source address choice list select Source address.
- Next to Source address, click Add new entry.
- From the Value keyword list, type proxy and click OK.
- From the Destination address choice list, select Destination
address.
- Next to Destination address, click Add new entry.
- Next to Value keyword list, select Enter Specific
Value.
- To specify the address, type static_nat_2.2.2.3_32 and click OK.
- From the Application choice list, select Application.
- Next to Application, click Add new entry.
- Next to Value keyword box, type junos-sip and click OK.
- Next to Then, click Configure.
- Next to Action, select permit and click OK.
To configure from zone, dmz, and to zone, public, and
the respective source address, destination address, and application,
follow the sequence of steps listed below:
- 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.
- Next to Policy, click Add new entry
- In the From zone name box, type dmz.
- In the To zone name box, type public.
- Next to Policy, click Add new entry.
- In the Policy name box, type proxy-to-public.
- Select the Match check box.
- Select the Then check box.
- Click Configure next to Match check box.
- Next to Source address choice list select Source address.
- Next to Source address, click Add new entry.
- From the Value keyword list, type proxy and click OK.
- From the Destination address choice list, select Destination
address.
- Next to Destination address, click Add new entry.
- Next to Value keyword list, select Enter Specific
Value.
- To specify the address, type phone2 and click OK.
- From the Application choice list, select Application.
- Next to Application, click Add new entry.
- Next to Value keyword box, type junos-sip and click OK.
- Next to Then, click Configure.
- Next to Action, select permit and click OK.
- To save and commit the configuration, click Commit.
- To check the configuration, see “Verifying the SIP
Configuration” on page 522.