LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Squid config question (https://www.linuxquestions.org/questions/linux-security-4/squid-config-question-4175530371/)

jddig2000 01-07-2015 04:50 PM

Squid config question
 
I've setup squid 3.3 on a small network and am trying to restrict inbound/outbound SSH access to just a couple servers. I already have an "acl mgmt src x.x.x.x" setup and am allowing only mgmt http access with "http_access allow mgmt" I tried the adding the lines below and it didn't work.

acl ssh_port port 22
allow ssh_port mgmt

Just curious if anyone had any ideas?

Thanks,
Jeff

TB0ne 01-08-2015 09:16 AM

Quote:

Originally Posted by jddig2000 (Post 5297327)
I've setup squid 3.3 on a small network and am trying to restrict inbound/outbound SSH access to just a couple servers. I already have an "acl mgmt src x.x.x.x" setup and am allowing only mgmt http access with "http_access allow mgmt" I tried the adding the lines below and it didn't work.

acl ssh_port port 22
allow ssh_port mgmt

Just curious if anyone had any ideas?

Sure...what you're trying to do will never work. The reason, is because squid is an HTTP proxy...it doesn't handle ANY other protocols, period. You need to allow/restrict any other traffic through your firewall with whatever you're using for such things.


All times are GMT -5. The time now is 01:41 PM.