Print Download PDF Send Feedback

Previous

Next

Directional VPN Enforcement

In This Section:

Overview of Directional VPN

Directional Enforcement within a Community

Configurable Objects in a Direction

Directional Enforcement between Communities

Configuring Directional VPN Within a Community

Configuring Directional VPN Between Communities

Overview of Directional VPN

When a VPN community is selected in the VPN column of the Security Policy Rule Base, the source and destination IP addresses can belong to any of the Security Gateways in the community. In other words, the traffic is bidirectional; any of the Security Gateways can be the source of a connection, any of the Security Gateways can be the destination endpoint. But what if the administrator (in line with the company's security policy) wished to enforce traffic in one direction only? Or to allow encrypted traffic to or from Security Gateways not included in the VPN community? To enable enforcement within VPN communities, VPN implements Directional VPN.

Directional VPN specifies where the source address must be, and where the destination address must be. In this way, enforcement can take place:

Directional Enforcement within a Community

The figure shows a simple meshed VPN community called MyIntranet. VPN traffic within the MyIntranet Mesh is bidirectional; that is, either of the Security Gateways (or the hosts behind the Security Gateways in the VPN domains) can be the source or destination address for a connection.

Source

Destination

VPN

Service

Action

Track

Any

Any

MyIntranet => MyIntranet
MyIntranet =>internal_clear
internal_clear => MyIntranet

telnet

accept

log

Any

Any

MyIntranet

telnet

accept

log

The match conditions are represented by a series of compound objects. The match conditions enforce traffic in the following directions:

Configurable Objects in a Direction

The table shows all the objects that can be configured in a direction, including three new objects created for Directional VPN:

Note - Clear text connections originating from the following objects are not subject to enforcement:

  • Any Traffic
  • External_clear
  • Internal_clear

There is no limit to the number of VPN directions that can be configured on a single rule. In general, if you have many directional enforcements, consider replacing them with a standard bidirectional condition.

Directional Enforcement between Communities

VPN Directional Enforcement can take place between two VPN communities. In this case, one gateway must be configured as a member of both communities and the enforcement point between them. Every other peer gateway in both communities must have a route entry to the enforcement point gateway in its vpn_route.conf file.

To add a route entry to the enforcement point gateway:

On the management module of each gateway in the community (except for the enforcement point gateway), add an entry in the $FWDIR/conf/vpn_route.conf file:

Destination

Next hop router interface

Install on

<destination_community_obj>

<enforcement_point_gw>

<managed_FW_object>

These are the variable in the entry:

In the example below, Washington is a Mesh community, and London is a VPN Star.

The directional VPN rule below must be configured for the enforcement point gateway in the Security Policy Rule Base:

Source

Destination

VPN

Service

Action

Any

Any

Washington => London

Any

accept

The rule is applied to all VPN traffic that passes through the enforcement point gateway between the Washington and London communities. If a connection is opened from a source in the Washington Mesh, and the destination is in the London Star, the connection is allowed. Otherwise, the connection is denied.

Note - The Directional Enforcement applies only to the first packet of a connection. If the connection is permitted, the following packets of this connection are also permitted, including the packets in the opposite direction.

Configuring Directional VPN Within a Community

To configure Directional VPN within a community:

  1. In Global Properties > VPN page > Advanced > Select Enable VPN Directional Match in VPN Column.
  2. In the VPN column of the appropriate rule, right-click on the VPN community. From the pop-up menu, select Edit Cell....

    The VPN Match Conditions window opens.

  3. Select Match traffic in this direction only, and click Add...

    The Directional VPN Match Condition window opens.

  4. In the Match on traffic reaching the Security Gateway from: drop-down box, select the object for internal_clear. (the source).
  5. In the Match on traffic leaving the Security Gateway to: box, select the relevant community object (the destination).
  6. Add another directional match in which the relevant community object is both the source and destination.

    This allows traffic from the local domain to the community, and within the community.

  7. Click OK.

Configuring Directional VPN Between Communities

To configure Directional VPN between communities:

  1. In Global Properties > VPN page > Advanced > Select Enable VPN Directional Match in VPN Column.
  2. Right-click inside the VPN column of the appropriate rule. From the pop-up menu, select Edit Cell... or Add Direction...

    The VPN Match Conditions window opens.

  3. Click Add...

    The Directional VPN Match Conditions window opens:

  4. From the drop-down box on the left, select the source of the connection.
  5. From the drop-down box on the right, select the connection's destination.
  6. Click OK.