Routing between 2 firewalls in the same subnet
-
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.
-
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. -
@viragomann Thanks alot, this worked. So dumb of me :)