pfBlocker only on specific ports
-
when you select a country in GeoIP does it block the whole county from accessing your ports or is it just known bad IPs from that country?
The entire country.
-
@KOM Well that explains a lot, lol.
See, I have a lot of learning to do.
-
@bose301s said in pfBlocker only on specific ports:
After more research I think I may be misunderstanding the GeoIP part as well, when you select a country in GeoIP does it block the whole county from accessing your ports or is it just known bad IPs from that country?
Look at my first screenshot, create an alias then define your firewall rule.
-
@NogBadTheBad said in pfBlocker only on specific ports:
@bose301s said in pfBlocker only on specific ports:
After more research I think I may be misunderstanding the GeoIP part as well, when you select a country in GeoIP does it block the whole county from accessing your ports or is it just known bad IPs from that country?
Look at my first screenshot, create an alias then define your firewall rule.
I'm going to do some more learning on this before I go further, going to try to load lists of known bad IPs to block on those ports as I want connections from all over the world since BitTorrent is definitely worldwide.
-
Maybe you should look at snort or suricata
-
@NogBadTheBad I've got Suricata up and running as well.
-
@bose301s said in pfBlocker only on specific ports:
@NogBadTheBad I've got Suricata up and running as well.
emerging-p2p.rules << set it to block on these rules
-
@NogBadTheBad said in pfBlocker only on specific ports:
@bose301s said in pfBlocker only on specific ports:
@NogBadTheBad I've got Suricata up and running as well.
emerging-p2p.rules << set it to block on these rules
That won't block all p2p? That was my understanding of what it did.
-
@bose301s said in pfBlocker only on specific ports:
@NogBadTheBad said in pfBlocker only on specific ports:
@bose301s said in pfBlocker only on specific ports:
@NogBadTheBad I've got Suricata up and running as well.
emerging-p2p.rules << set it to block on these rules
That won't block all p2p? That was my understanding of what it did.
You can whitelist addresses AFAIK.
-
@bose301s said in pfBlocker only on specific ports:
would like to use the GeoIP lists to block bad traffic from my two open ports
At the bottom of all GeoIP and IPv4/6 pages for each Alias/Group is "Advanced Inbound/Outbound Firewall Rule Settings" which you can use to refine the Auto Type rules to add Ports/Destination IPs etc.... or follow the other recommendations to use "Alias type" and manually create the rules as required.