i am a newbee and i am having trouble with squid.
Can i control ports other then 80 via squid. What i mean is: can i describe in squid.conf file which user can use which ports? My configuration is below:
I have configured iptables and squid using this howto document: (... there was an url but the system did not let me send a url as i am new here
I modified the lines in squid.conf as it said in the howto document as following .
i have described an acl list as fallows
acl diger src "/etc/hdayi/diger"
and let them access:
http_access allow diger
and in iptables:
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128
With this configuration only http port (80) works(no other ports works 21, 443 etc.). But i want to control other ports too.
I believe that i can make o port description like:
acl my_ports port 80 1863 ...
and doing this:
http_access allow diger my_ports
and in iptables i must redirect the necessary ports to 3128 (to squid).
I am doing this but i