How to allow specific aliases (IP's) to internet and block the remaining IP's
-
Hello im a little new in pfsense. im just wondering how can i Allow the IP's that i put in aliases to access the internet & i want to block the remaining IP's that i did not include in that aliases.
Ex:
Alias Name: Known_IP
IP's: 192.168.3.2, 192.168.3.7 etcIwant the known_IP alias to access the internet & the other IP's will be blocked.
I want to control who is using the internet so that i will add his IP to the Known_IP alias to access the web.Please help me out guy. . . .
Thank you. . . . -
Firewall - Rules - LAN.
Remove the Default Allow LAN to any rule. Add a rule that allows * access, Source = your alias. Below that rule, add a rule that blocks * access, Source = *, Dest = * etc.
-
Hello KOM thank you for your reply..
Please check my current rule in attachment.
and my PC lan network config. i set Default gateway & primary DNS to my pfsense lan interface IP.My Scenario is that i remove my IP to the aliases then create your rule that you mention please check my attachment if my rule is correct.
But still i can access the internet. Even my IP is not included to the Allowed AliasPlease maybe im missing something.
Thank you. . . .
-
Reset your states and try again (Diagnostics - States, I think)
-
Thank you Very Much KOM your a big help its working now… i just reset.