need help with pfblocker
-
Hello,
I use pfblocker geoip to block Russia and China but i want to be able to access mail.ru.
Is there a way i can do this? whitelist mail.ru dommain?
I can add a rule in fw to allow trafic to mail.ru but after pfblocker rule reload, pfB_Top_v4 goes on top of my rules and the traffic is blocked again.Thank you!
-
Hello,
I had the same problem. I used Alias Native in pfblockerng.- Choose "Alias Native" in Action in pfBlockerng
- Copy the name of the newly created Alias name in Firewall / Aliases / URLs
- Create a new firewall rule in Firewall / Rules / WAN
in the source address paste the copied alias names and save - Put the mail.ru ip address in the top of these rules.
-
Hello!
Thank you for the quick replay!
I cant find the "Action" or "Alias Native" in bfblockerng. Where are those, more exacly, please?Thank you!
-
@catalinn-stanciu said in need help with pfblocker:
bfblockerng
I am using pfBlockerNG-devel. What pfblockerng are you using?
-
pfBlockerNG v2.1.4_16
-
Alias Native is located in the bottom of page where you have selected Russia and China.
-
I found the Alias, made and apply the rulles using them...all worked perfect until next rule update/reload.
After update/reload, the rules i made in Firewall/Rules/WAN using the Alias get deleted or something like that. I dont see them in Firewall/Rules/WAN anymore...
Any fix for that? :D
-
Could you show screenshots?
-
@catalinn-stanciu said in need help with pfblocker:
I found the Alias, made and apply the rulles using them...all worked perfect until next rule update/reload.
When you click on the it brings you some information about pfBlockerNG 's features :
-
It worked.
Im not sure what i did different from yesterday but it worked (i think).
It updates and i can restart/reload rules without losing the rules i created.Thank you guys! U were great!
-
@catalinn-stanciu
I believe that you had initially used "pfB_" in the rule description for these Alias type (manual) firewall rules. For Alias types, you should prefix the rule description with "pfb_" (lowercase) which will also allow the widget to report on the statistics for these manually created firewall rules. -
@bbcan177
It is very likely that i used "pfB_" in the rule description.
Thank you very much for the help and for the package :) -
@catalinn-stanciu said in need help with pfblocker:
Thank you very much for the help and for the package :)
Thanks for the feedback... NP glad to help!
-
Glad to hear that your problem is solved.
-
@emammadov thank you!