I'm not sure if this is a Squid subject or IPTables.
In my Squid configuration I have something like this setup:
I would like Squid to only accept connections from users connecting using 'proxy.example.com' as the proxy domain.
In other words if someone were to connect using another a domain that points the my server on port 8080 I want them to be denied access to proxy, including accessing the IP address directly.
Is this doable in Squid? If not how would I set this up in IPtables?