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

    Routing between 2 firewalls in the same subnet

    Scheduled Pinned Locked Moved Routing and Multi WAN
    3 Posts 2 Posters 432 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.
    • A
      appollonius333
      last edited by appollonius333

      So currently me and my friend are trying to setup a 'minecraft' server. We both have a firewall, he has IPtables and I have PFsense. Though my firewall is on 10.110.2.1 and

      his firewall is on 10.110.2.2 we have a bridged connection between our servers. With IPtables I could simple add an ip route and designate an interface to it but I have no idea how I would do the same with the PFsense static route option as I have to do everything from a default gateway.

      I need to route 2 subnets to his 10.110.2.2, does someone know how to do this via PFsense? Otherwise I will have to look into FreeBSD CLI and do it from there.

      1 Reply Last reply Reply Quote 0
      • V
        viragomann
        last edited by

        Simply add your friends firewall (10.110.2.2) as a gateway on the proper interface which is facing to it.
        Then add one or multiple static routes pointing to this gateway.

        A 1 Reply Last reply Reply Quote 1
        • A
          appollonius333 @viragomann
          last edited by

          @viragomann Thanks alot, this worked. So dumb of me :)

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