Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    IPsec tunnel how do you restrict which networks can be accessed?

    Scheduled Pinned Locked Moved IPsec
    2 Posts 2 Posters 1.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      richc
      last edited by

      I am starting to look at linking up two sites, one site (site1) has a Cisco ASA device and the other a pfSense box (site2).

      I can see how to basically configure IPsec however I was wondering if there is anyway to restrict what networks can be accessed by site1, at the site2 end.

      Can anyone help/comment?

      1 Reply Last reply Reply Quote 0
      • S
        spiritbreaker
        last edited by

        Hi,

        sure use Firewall rules.

        go to Firewall -> Ipsec and restrict incomming traffic by setting up rules like this:

        Example: Rule to permit only HTTP Traffic to ur Site2 LAN:

        Proto Source       Port   Destination                   Port  Gateway Queue Schedule Description
          *        site1_lan         *     Site2-LAN net(or IP)      80               * none

        Hope This helps.

        Cya

        Pfsense running at 11 Locations
        -mobile OPENVPN and IPSEC
        -multiwan failover
        -filtering proxy(squidguard) in bridgemode with ntop monitoring

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.