Jump to content
bogdi19

Internet Protocol Security part 3

Recommended Posts

Posted

In this lesson you will learn how to create an Internet Protocol Security (IPSec) filter list.

IP Filter list specifies what traffic the system should secure using IPSec. IP filter lists can be specified based on IP addresses, protocols, and port numbers. An IP filter list is configured on the IP Filter List tab in the Properties dialog box of an IPSec rule of an IPSec policy.

ipsec-new-rule-properties.JPG

Click "Add" button "New Rule Properties" IP Filter List tab.

ipsec-new-ip-filter-list-block-all-telnet.JPG

"IP Filter List" dialog box will fire up. Enter a meaning-ful name and description. Remember to uncheck the "Use Add Wizard". Click "Add" button to create a new filter list to filter all Telnet Traffic to domain controller.

ipsec-new-filter-list-src-dest-ipaddr-block-all-telnet.JPG

In Source address combo box, select "Any IP Address" and in Destination address combo box, select "My IP Address". To automatically create two filters based on configured filter settings going to and coming from the specific Destination address, select the Mirrored check box. Now click the "Protocol" tab.

ipsec-new-filter-list-protocol-port-block-all-telnet.JPG

Select TCP as the protocol and "To this port" as 23. Remember, Telnet is listening at TCP port number 23. Click "OK" to create a new IP filter list.

ipsec-ip-filter-list-listed-block-all-telnet.JPG

Click "OK" to finish. The new filter list "Block All Telnet" will be listed in the IP filter lists tab.

ipsec-new-filter-list-created-block-all-telnet.JPG

You have created a new IPSec IP filter list (Block All Telnet) to filter Telnet Traffic from all computers to the domain controller SERV03.omnisecu.com. Now you have to specify a filter action for this filter list. Click the filter action tab of "New Rule properties" Dialog box

This lesson will teach you how to associate the IPSec IP filter list you have created in the previous lesson to an IPSec filter action. This filter action will block all Telnet traffic to the domain controller SERV03.omnisecu.com.

We have created a IPSec filter list "Block All Telnet" which filter all Telnet traffic originating from any IP address to the domain controller SERV03.omnisecu.com. We need to associate a filter action "Block" with this filter list. when any traffic matches "Block All Telnet" filter list arrives at the domain controller, it will be blocked.

Select the new filter list "Block All Telnet" you have created in last lesson by selecting the radio button.

ipsec-new-filter-list-created-block-all-telnet.JPG

Now click the filter action tab, to associate a filter action with this filter list.

ipsec-filter-action-tab.JPG

To add IPSec block filter action, Uncheck the "Use Add Wizard" and Click "Add". Select "Block" radio button inside "New Filter Action Properties".

ipsec-block-filter-action.JPG

Click "General" tab, enter a meaning-ful name for the filter action, and a description.

ipsec-filter-action-name.JPG

Click "OK".

ipsec-filter-action-block-telnet-created.JPG

New filter action "Block Telnet" will be listed, select it by clicking the radio button. Click "Apply" and "Close". You can see the new "Block All Telnet" rule listed in the Rules tab of the IPSec policies.

ipsec-rule-block-all-telnet-created.JPG

New IPSec rule is created. There are three more tabs in the rule properties dialog box.

1) Authentication Methods - Lists the IPSec authentication methods. Three possible authentication methods are

Kerberos: Kerberos 5 is the default authentication method in a Windows Server 2003 domain. Users running the Kerberos protocol within a trusted domain can authenticate using this method.

Certificates: Digital certificates can be used for authentication, if a trusted certificate authority is available.

Shared Key: A Pre-shared key can be used for authentication when kerberos is not available. A pre-shared key is a string value which is configured on each computer and must be the same on both computers.

2) Tunnel Setting - Specifies whether this is in Tunnel mode or Transport mode. You need to specify the end-point of the tunnel also. "This rule does not specify an IPSec tunnel" option is the Transport mode.

3) Connection Type - Determines for which types of connections the rule will be applied: LAN, Remote Access, or All Network Connections.

You have created a IPSec rule to block all telnet traffic to the domain controller. Now you need create a IPSec rule allowing SERV04.omnisecu.com to allow secure telnet access. Follow the steps we did before except a few changes.

Click the "Add" tab in the Secure Telnet IPSec policy to add a new rule.

create-allow-serv04-ipsec-rule.JPG

Click "Add" button in the "New Rule Properties" dialog box, to add an IPSec IP filter list.

ipsec-ip-filter-list-allow-secure-traffic.JPG

Type a meaning-ful name and description for the IPSec IP filter list.

ipsec-ip-filter-name-secure-traffic.jpg

Click "Add" button to add an IPSec IP filter.

ipsec-src-dest-ipaddr-secure-traffic.JPG

Select "A specific IP Address" from the combo box of Source address and enter the IP address od SERV4.omnisecu.com (192.168.1.12), to which we need to enable secure telnet communication using IPSec. Enter Destination address as "My IP address". Click Protocol tab.

ipsec-protocol-port-secure-traffic.JPG

Enter the protocol and port nunmber to enable secure traffic.

ipsec-ip-filter-list-listed-secure-telnet.JPG

Click "OK".

ipsec-ip-filter-list-created-secure-telnet.JPG

Select the new filter list "Allow SERV04" and click filter action tab.

ipsec-select-require-security-filter-action.JPG

Select "Require Security" filter action to enable secure IPSec communication between SERV03.omnisecu.com and SERV04.omnisecu.com. Click "Apply" and "Close". Refer next lesson how to configure IPSec encryption algorithm, hashing algorithm and other settings.

ipsec-rule-secure-telnet-traffic-created.JPG

The two rules you have created are listed in the "Secure Telnet" policy properties.

At this point you may wondering about these two conflicting rules. "Block all Telnet" rule is defined to block all telnet traffic to the domain controller SERV03.omnisecu.com and "Allow Serv04" is defined to allow secure telnet traffic from SERV04.omnisecu.com. The IPSec rules are automatically ordered from the most specific to the least specific. Here "Allow SERV04" IPSec rule is most specific, because we have specified the IP address of SERV04.omnisecu.com (192.168.1.12).

You have learned how to associate an IPSec IP filter list with a filter action. You have created two rules, one rule will block all IP traffic and other rule enable secure Telnet traffic betwee SERV03.omnisecu.com and SERV04.omnisecu.com.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...