Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Web Proxy Filtering and Caching
(Moderator:
fabian
) »
[Solved] Block traffic to unresolved IP / Non-sni or "naked" IPv4 address
« previous
next »
Print
Pages: [
1
]
Author
Topic: [Solved] Block traffic to unresolved IP / Non-sni or "naked" IPv4 address (Read 2165 times)
errored out
Full Member
Posts: 171
Karma: 3
[Solved] Block traffic to unresolved IP / Non-sni or "naked" IPv4 address
«
on:
September 28, 2020, 12:25:24 am »
I posted this question in general, but have not received any comments. So, I'm trying here.
I am looking for a method of blocking internal traffic from accessing
any
external (routable / Internet) IP address which have not been resolved / "naked" (non-sni) by dns.
Ex. Right now, my computer inside my network is able to traverse opnsense and access any site (https) by domain name or IP. For instance
https://opnsense.org
or by
https://81.171.2.181
.
I am looking to allow my computer to still be able to access
https://opnsense.org;
however,
not be able to access
https://81.171.2.181
(or any routable ip address).
I am aware I can block specific IPs. However, that would block access to the hosts I'm trying to access. And it would not be realistic to individually block all external hosts by their IP address.
Simply put, looking to block "how" a computer connects to a external host, not block access to an external host.
I am assuming what is needed is squid or nginx, but have not found the answer yet.
Which one is needed if any?
What options or configurations should I look into?
Thank you
«
Last Edit: May 15, 2021, 08:18:14 am by errored out
»
Logged
errored out
Full Member
Posts: 171
Karma: 3
Re: Block traffic to unresolved IP / Non-sni or "naked" IPv4 address
«
Reply #1 on:
February 07, 2021, 03:32:44 am »
Anyone have info on this?
Logged
Fright
Hero Member
Posts: 1777
Karma: 164
Re: Block traffic to unresolved IP / Non-sni or "naked" IPv4 address
«
Reply #2 on:
February 07, 2021, 08:45:09 am »
can try squid + regex blacklist
Logged
errored out
Full Member
Posts: 171
Karma: 3
Re: Block traffic to unresolved IP / Non-sni or "naked" IPv4 address
«
Reply #3 on:
February 17, 2021, 03:07:33 am »
Great, thank you.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Web Proxy Filtering and Caching
(Moderator:
fabian
) »
[Solved] Block traffic to unresolved IP / Non-sni or "naked" IPv4 address