Configuring the Juniper Firewall Device Side VPN With XAuth
Knowledge Base ID: KB4183
Version: 5.0
Published: 13 Nov 2008
Updated: 13 Nov 2008
Categories: . Firewall/IPSec_VPN
. IPSec
. ScreenOS

Synopsis:
Configuring the Juniper Firewall Device Side VPN With XAuth

Problem:

Solution:

To configure the Juniper Firewall device side VPN with XAuth, perform the following steps:

Step one: Open the WebUI. For more information on accessing the WebUI, go to KB4060 - Accessing Your NetScreen, SSG, or ISG Firewall Using the WebUI .

 Step two: From the ScreenOS options menu, click Objects, and then click to select IP Pools.

Image of step two

Step three: Click New.

Image of step three

Step four: From the Edit screen, enter an IP Pool Name, Start IP, and End IP.

Note:For this example, we have entered an IP Pool Name of XAuthIPPool, a Start IP of 192.168.100.1, and an End IP of 192.168.100.100.

Note: You must enter an IP Pool that is different from any other assigned address on the Firewall device.

Image of step four and five

Step five: Click OK.

Step six: From the ScreenOS options menu, click Objects, click Users, and then click to select Local.

Image of step six

Step seven: Click New.

Image of step seven

Step eight: From Auth/IKE/L2TP/XAuth User, enter a User Name.

Note: For this example, we have entered xauthuser.

Image of step eight and nine

Step nine: From Status, click Enable.

Step ten: Click IKE User, and then click to select Simple Identity.

Image of step ten and eleven

Step eleven: From IKE Identity, enter an IKE Identity.

Note: For this example, we have entered xauth@auth.com.

Step twelve: Click to select XAuth User, enter a User Password, and then Confirm Password.

Image of step twelve and thirteen

Step thirteen: Click OK.

Step fourteen: From the ScreenOS options menu, click VPNs, click AutoKey Advanced, and then click to select XAuth Settings.

Image of step fourteen

Step fifteen: On the XAuth Settings page, from the IP Pool Name drop-down menu, click to select an IP Pool Name.

Note: For this example, we have selected xauthIPPool.

Image of step fifteen and note

Note: If you decide to use External Authentication, use a third-party server such as Radius, Secure-ID or LDAP. If you decide to use the default Local Authentication Database on the Juniper Firewall, then you must select the IP Pool that you are going to use for the XAuth users under IP Pool Name, and enter the appropriate IP addresses for DNS and WINS. The other settings in this page are used for external authentication servers.

Note: For this example, we have entered a DNS Primary Server IP of 10.1.1.100, a DNS Secondary Server IP of 200.1.1.1, a WINS Primary Server IP of 10.1.1.100, and a WINS Secondary Server IP of 10.1.1.101.

Step sixteen: Click Apply.

Image of step sixteen

Step seventeen: From the ScreenOS options menu, click VPNs, click AutoKey Advanced, and then click to select Gateway.

Image of step seventeen

Step eighteen: Click New.

Image of step eighteen

Step nineteen: From the Edit page, enter a Gateway Name, and then click to select Custom.

Note: For this example, we have entered XAuthuserGate.

Image of step nineteen

Step twenty: From Remote Gateway Type, click to select Dialup User. From the User drop-down menu, click to select a User.

Note: For this example, we have selected xauthuser.

Image of step twenty

Step twenty-one: From the Preshared Key text box, enter a Preshared Key.

Image of step twenty-one and twenty-two

Step twenty-two: Click Advanced.

Note: The Outgoing Interface should be the outgoing interface that the XAuth users will use.

Step twenty-three: From Security Level, and from User Defined, click Custom.

Image of step twenty-three and twenty-four

Step twenty-four: From Phase 1 Proposal, click to choose an encryption level, and then click Aggressive.

Note: If you are behind a NAT device, select Enable NAT-Traversal.

Step twenty-five: Click Enable XAuth, and then click to select Use Default.

Image of step twenty-five

Note:  Select Use Default if you are using the local global XAuth settings. If you are going to use groups of users or the local to allow a more specific identification for the users and the group users, then you can select Local Authentication or External Authentication.

Step twenty-six: Click Return.

Image of step twenty-six

Step twenty-seven: Click OK.

Image of step twenty-seven

Step twenty-eight: From the ScreenOS options menu, click VPNs, click AutoKey IKE.

Image of step twenty-eight

Step twenty-nine: Click New.

Image of step twenty-nine

Step thirty: From the Edit page, and from VPN Name, enter a VPN Name. From Security Level, click Custom.

Note: For this example, we have entered XAuthuserIKE.

Image of step thirty and thirty-one

Step thirty-one: From Remote Gateway, click Predefined, and then from the Remote Gateway drop-down menu, click a Remote Gateway.

Note: For this example, we have selected XAuthuserGate.

Step thirty-two: Click Advanced.

Image of step thirty-two

Step thirty-three: From Security Level, and from User Defined, click Custom.

Image of step thirty-three and thirty-four

Step thirty-four: From Phase 2 Proposal, click to choose an encryption level.

Note: For this example, we have chosen nopfs-esp-des-md5.

Step thirty-five: Click Return.

Image of step thirty-five

Step thirty-six: Click OK.

Image of step thirty-six

Step thirty-seven: From the ScreenOS options menu, click Policies.

Image of step thirty-seven

Step thirty-eight: In the From drop-down menu, click to select Untrust. From the To drop-down menu, click to select Trust.

Image of step thirty-eight and thirty-nine

Step thirty-nine: Click New.

Step forty: From Source Address, click to select Address Book, and then in the Address Book drop-down menu, click to select Dial-Up VPN.

Image of step forty and forty-one

Step forty-one:From Destination Address, click to select Address Book, and then in the Address Book drop-down menu, select an IP Address/Netmask.

Note: For this example, we have selected 172.16.10.0/24.

Step forty-two:From the Service drop-down menu, click ANY. From the Action drop-down menu, click Tunnel.

Image of step forty-two and forty-three

Step forty-three:From the Tunnel VPN drop-down menu, click to select a VPN.

Note: For this example, we have selected XAuthUserIKE.

Step forty-four:Click to select Position at Top.

Image of step forty-fourand forty-five

Step forty-five:Click OK.

Purpose:
Troubleshooting