Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to allow a particular site using iptables. Am running debian squeeze in my proxy server. I have tried giving the IP address of the website .Since, its changing dynamically for popular sites , I can't get it working. Is there any way to allow the url in iptables ?

share|improve this question
up vote 0 down vote accepted

Layer 3 devices do not understand higher level application data. (URL's) What you are asking however, can be configured in your proxy server.

share|improve this answer
oh fine. I can get you. You are asking me to configure my 'squid' to allow the particular url ? – Knight Rider Dec 15 '12 at 4:39
Yes, Squid is more than capable of Blocking/Allowing URL's. if I remember correctly, you can easily create something similar to an access control list and then reference that file in your squid.conf. A google ought to yield some proper instruction. – Scandalist Dec 15 '12 at 4:44
Yeah :) Thanks alot ;) – Knight Rider Dec 15 '12 at 4:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.