I am running pfsense (v 1.2.3) embedded as my primary router. I would like to block all traffic from unknown hosts. I have the DHCP server set to give out leases only to certain pre-defined (based on MAC Address) hosts. What I would like to prevent is someone setting up a static ip on a machine and being able to use my system. Is it possible to prevent this, and if so, exactly how would I accomplish this? I realize they would have to be either physically connected, or have access to my wireless network, but I am trying to use the router as another level of security, plus I have some time restrictions for kids devices based on ip addresses, and I don't want them to be able to circumvent these just by assigning a static ip address.
|
feedback
|
|
You can use the static ARP in the DHCP server and only allow defined hosts to get an IP. You'll want to use 2.0 if you go the full static ARP route, there were some issues recently found there in the stable release but it works fine in 2.0. | |||||
feedback
|
|
pfSense can do MAC filtering, and for the kid's machines I'd just filter on MAC address if you're worried they'll mess with the IPs to bypass outbound filtering. Just make sure you don't have another NATed router between the pfSense box and the clients. "Enable Static ARP entries" on the config page will let you list only the MACs you want to access the router on the given interface -- this should keep unknown/unwanted users off. | |||||||||||||
feedback
|
|
This just occurred to me, and I'd appreciate feedback on the merits of this idea: Put a rule in to block all outgoing traffic on my LAN. Then put in rules to allow traffic from known hosts (based on their ip address) and give the allow rules higher priority. Then the only way someone could get out to the internet with a static ip, would be to set the static ip to an already used ip and that would cause problems. I could move my ip addresses around a bit so that I can create rules for a /28 and a /29, thus minimizing the number of rules required to allow traffic. - Thoughts? | |||
feedback
|