I have been using an EdgeRouer POE as my main router for most of the network (some of the network still uses PFSense as a router, but thats being removed soon) for the last few weeks, and i am quite happy with it. I also have a second router, a Sophos UTM VM between my first LAN (essentially a DMZ) and my client LAN (there will be more “LANs” over there soon). The Client LAN is NATed between the DMZ and the LAN, which means anything on the LAN i want to access from the DMZ has to be port forwarded… Ideally, not much from the LAN should be accessible though the DMZ, but in my initial setup, stuff like Plex, etc, is…
What i wanted to do was setup a proper firewall between both networks, without the use of NAT… Do do this, i first had to disable th masquerading rules in Sophos:
<img srcset=" https://images.tiernanotoole.net/Image/?inputImage=v1530620916/20150930-masquerading-off.png&width=500 500w, https://images.tiernanotoole.net/Image/?inputImage=v1530620916/20150930-masquerading-off.png&width=710 710w, https://images.tiernanotoole.net/Image/?inputImage=v1530620916/20150930-masquerading-off.png&width=1000 1000w, https://images.tiernanotoole.net/Image/?inputImage=v1530620916/20150930-masquerading-off.png&width=1420 1420w” src=”https://images.tiernanotoole.net/Image/?inputImage=v1530620916%2f20150930-masquerading-off.png&width=500” alt=””>
next, on the EdgeRouter, i added a static route to point at the new network:
<img srcset=" https://images.tiernanotoole.net/Image/?inputImage=v1530620916/20150930-static-route.png&width=500 500w, https://images.tiernanotoole.net/Image/?inputImage=v1530620916/20150930-static-route.png&width=710 710w, https://images.tiernanotoole.net/Image/?inputImage=v1530620916/20150930-static-route.png&width=1000 1000w, https://images.tiernanotoole.net/Image/?inputImage=v1530620916/20150930-static-route.png&width=1420 1420w” src=”https://images.tiernanotoole.net/Image/?inputImage=v1530620916%2f20150930-static-route.png&width=500” alt=””>
And finally, under firewall rules, i allowed what i wanted to allow (in this case, SSH from any DMZ client (not advised) to my Mac Mini).
<img srcset=" https://images.tiernanotoole.net/Image/?inputImage=v1530620916/20150930-firewall-rules.png&width=500 500w, https://images.tiernanotoole.net/Image/?inputImage=v1530620916/20150930-firewall-rules.png&width=710 710w, https://images.tiernanotoole.net/Image/?inputImage=v1530620916/20150930-firewall-rules.png&width=1000 1000w, https://images.tiernanotoole.net/Image/?inputImage=v1530620916/20150930-firewall-rules.png&width=1420 1420w” src=”https://images.tiernanotoole.net/Image/?inputImage=v1530620916%2f20150930-firewall-rules.png&width=500” alt=””>
And that, as they say, is that! So far, so good!