I have a server in my LAN and I want the server to be able to make outgoing connections to the internet. However I don't want it to be able to touch the rest of my LAN. For example `ping 4.2.2.2` should work, but `ping 10.10.10.209` should not.
I was informed that this is possible with pf, but I haven't used pf yet. I would like to learn it, but have tried to find a config used in a similar situation and came up with nothing (I learn by example).
So.... two questions - 1) Is pf the best choice to do this, or would I be better doing something before the server (like vlanning at the switch level), 2) Could you throw me a sample config which does something like what I need? Or at least point me in the right direction?
Thanks
I was informed that this is possible with pf, but I haven't used pf yet. I would like to learn it, but have tried to find a config used in a similar situation and came up with nothing (I learn by example).
So.... two questions - 1) Is pf the best choice to do this, or would I be better doing something before the server (like vlanning at the switch level), 2) Could you throw me a sample config which does something like what I need? Or at least point me in the right direction?
Thanks
