• Block redirect

    Firewalling
    6
    0 Votes
    6 Posts
    1k Views
    GertjanG

    @tbr281 said in Block redirect:

    Just wish it would redirect it.

    Even "dirty websites" use TLS these days. Easy to recognize, their URL starts with https://

    Without drastic measure on your LAN, that is, all your web visiting devices and pfSense, you can't redirect https://"dirty websites" to https://DuckDuckGo
    Your browser won't allow this.
    The test : is the host name "dirty websites" present in the certificate obtained ? will fail.
    Have a look :

    e2e336b4-a7bf-4b88-ab68-5e617416ed3b-image.png

    That's doesn't look like "dirty websites" : your browser will refuse the connection.

    If it was possible, you would also be able to redirect https://some-bank-acess-you-use to https://some-bank-access-you-use, and because you control some-bank-access-you-use (and your site looks identical to some-bank-acess-you-use), now you get the access credentials.
    And five minutes later you can access https://some-bank-acess-you-use with the credentials you've obtained, and do what you want.
    The thing is, why would you ask if something if possible if you don't want it to be possible ?
    After all, https://"dirty websites", or https://facebook.com or https://some-bank-acess-you-use or https://some-bank-acess-you-use, for your PC, switch, pfsense, upstream routers of your ISP etc, its all the same : a connection to some server over port 443, TCP.

  • HAProxy using url table alias

    Cache/Proxy
    1
    0 Votes
    1 Posts
    550 Views
    No one has replied
  • Too many IPs for an alias

    Firewalling
    3
    0 Votes
    3 Posts
    1k Views
    NogBadTheBadN

    pfBlockerNG and the ASN numbers, PfblockerNG will also import JSON but you can't create create a single alias with IPv4 & IPv6.

    Screenshot 2022-09-14 at 08.41.28.png

    https://db-ip.com/as15169-google-llc

  • Wildcard Filtering

    Firewalling
    1
    0 Votes
    1 Posts
    480 Views
    No one has replied
  • 0 Votes
    4 Posts
    1k Views
    JeGrJ

    @leonroy said in Can't create IPv4+IPv6 Firewall rule with an alias:

    What I ended up doing was sticking my PiHole IP address in an Alias as well and setting that as the Source alias. Not sure if that's the best way of doing it but it worked...

    If your PiHole should answer IPv6 and work with IPv6 it needs an IPv6 address. Without that makes no sense, then you can simply block all IPv6 alltogether. If your Pi has IPv4 and IPv6 then that's the right way, put both into the alias and use it in rules.

    That said I wouldn't work with invert rules but that's my approach.

  • 0 Votes
    16 Posts
    2k Views
    K

    @jimp said in Support for IPv6 firewall entries with dynamic delegated prefix and static host address:

    While some people choose to only allow specific source hosts to specific destination hosts in a DB net, usually people don't get that fine-grained, either because the sources need to reach most if not all the resources in the target network, or because there aren't that many to bother with being that specific. Either way if someone has to get that complex with rules it's highly unusual for them to be using any kind of dynamic addressing like prefix delegation.

    Now that I can completely agree with! But may I suggest that you name the feature in another way? As this works with and without prefix delegation, and is more concerned about using a shortform (host part only) on interfaces.

    This is based on that I only understood the limit, when I read the sourcefile, and realized it did not use my PD, but the network the interface was assigned even if it was static.

  • 0 Votes
    4 Posts
    676 Views
    bingo600B

    I just saw this
    https://forum.netgate.com/post/939135

    Seems like you can enter a range

    /Bingo

  • Cant create Ipv4 custom list

    pfBlockerNG
    1
    0 Votes
    1 Posts
    523 Views
    No one has replied
  • 0 Votes
    13 Posts
    2k Views
    Sergei_ShablovskyS

    @viktor_g said in Packages of Aliases (Port + IP's + company AC) for easy administrating:

    @Sergei_Shablovsky said in Packages of Aliases (Port + IP's + company AC) for easy administrating:

    have a lot of Apple iOS devices in company/home and need to quickly add rules to pfSence after You buy new appliance from Netgate;
    company buy a software product that need to communicate with outside servers on a developer side;
    company buy a new hardware (servers (like IBM IMM service, Dell/HP have similar) , email antivirus DPI inspector, etc...), that need to communicate with outside servers on a developer side;

    Every appliance uses it own list of ports, that can be changed
    It is better to check this information with the vendor

    May be 5 or 7 years ago I was agree with You, because there are a huge bunch of SaaS services and the pool of IPs cannot able to be collected in reasonable timeslot.
    BUT now in 2020 exist only 30-100 SaaS services that used by MOST OF USERS: Amazon AWS, Google ~Servises, Apple, 5 email services (Google, Yahoo, ...), and around 10 most-usable hardware vendors (Dlink, TPlink, Amazon devices, Google devices, ...)

    Sorry, I need to repeat again:

    The main question are the most users just need "push button and all working well" solution. Just look at this NetGate forum - more than 80% are about something described in official doc, or more than one time appear on forum. But same questions popup again and again, again and again, countless.
    Even pinned on top of official pfBlockerNG part of this forum Bypassing DNSBL for specific IPs have words like CloudFlare. Rock... :)

    And from point of view of ordinary users if something goes wrong, each user clime the "NetGate pfSense router" rather himself for not setup pfSense correctly. You may see on this forum even sysadmins of small organization are to lazy to correctly setup the pfBlockerNG-devel. This is reality of our life.

    So at the bottom line are: if some solution exist on level "push button - and we do the rest" - more than 80% of users are happy with this. And buy more and more of pfSense devices, and recommend to others. NetGate are open source but not source of donation, this is "open source / business" balance.

    And my proposition also about increase the power of this "open source / business" balance.

    blocking using social networks (we all need that our stuff pay attention on work neither spent working hours on instagram, tinder, facebook, twitter...)

    You can block it with the pfBlockerNG-devel / DNSBL Category

    You can also find/add some specific DNSBL/IP lists there,
    Most cloud providers have these lists,
    check https://github.com/joetek/aws-ip-ranges-json
    https://forum.netgate.com/topic/147716/stun-public-email-providers-and-some-feeds-from-secops
    etc..

    Thank You for source! Appreciate Your attention and time!

  • Problema Pfsense y Whatsapp

    Español
    15
    0 Votes
    15 Posts
    8k Views
    R

    En caso de que alguien aun no logro resolver el inconveniente aquí dejo el enlace con la información facebook suministra para permitir el filtro por proxy

    https://developers.facebook.com/docs/whatsapp/guides/network-requirements/?locale=es_ES

  • 0 Votes
    8 Posts
    940 Views
    G

    @NogBadTheBad

    Hi,

    Sorry i should have mentioned, yeah my PC is on the 10.0.4.X network (just as a test PC) , the aim here was to loose connectivity to the GUI from my PC, then i have another one on the 10.0.7.X range that "should" get access to the GUI.

    After thinking about this last night I think I have sussed it out, we are going through a Proxy and this is the IP Address that accesses the Management GUI, hopefully I should be able to add some rules in our other proxy to avoid this Firewall bypassing it.

    Ill let you know if i have any more issues or if i need more help with this.

    Thanks for your help!

  • 0 Votes
    4 Posts
    1k Views
    jimpJ

    It might be an edge case we can't really detect well since it may be valid in some other way, even if it isn't an IP address (e.g. a hostname, other alias name, etc)

  • pfblockerng

    pfBlockerNG
    2
    0 Votes
    2 Posts
    1k Views
    RonpfSR

    @riaanwest said in pfblockerng:

    Basically making pfblockerng to create an alias for each category referenced in shallalist so you can create manual firewall rules using those aliases pointing to lets say social networks?

    You can't use FW_Rules with DNSBL tables.

    DNSBL operate on the Domain Name space.

    Firewall rules operate on the IP space.