Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
16.1 Legacy Series
»
Implementing URL Table alias block rules
« previous
next »
Print
Pages: [
1
]
Author
Topic: Implementing URL Table alias block rules (Read 10995 times)
jerrac
Newbie
Posts: 18
Karma: 1
Implementing URL Table alias block rules
«
on:
August 29, 2016, 02:11:46 am »
I've generated a large list of ip addresses that I want blocked. I added them to a url table alias, hosting the text file on Dropbox. Then I configured the rules the same way
https://docs.opnsense.org/manual/how-tos/edrop.html
has you configure the spamhaus rules.
The ip addresses show up in the pftables list. That means everything is loaded correctly, right? Or just that the alias was loaded?
The issue is that I can still go to both the url and ip of a site I want blocked. I double checked that the ip I was testing was in the pftables list.
The pfsense wiki says that an aliases file can be a single ip per line.
https://doc.pfsense.org/index.php/Aliases
that's what I've generated. See:
https://dl.dropboxusercontent.com/u/29137804/someonewhocares.txt
, those are the ip's I found for the hosts listed here:
http://someonewhocares.org/hosts/
Did I just miss a step?
Logged
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: Implementing URL Table alias block rules
«
Reply #1 on:
August 29, 2016, 09:22:51 am »
For me it looks like an issue with your firewall rules. There are three questions:
* Have you created the block rules?
* Do they apply before a pass rule?
* Did you reload the configuration?
Kind regards
Fabian
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
16.1 Legacy Series
»
Implementing URL Table alias block rules