LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-07-2015, 04:50 PM   #1
jddig2000
LQ Newbie
 
Registered: Jan 2015
Posts: 3

Rep: Reputation: Disabled
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
 
Old 01-08-2015, 09:16 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by jddig2000 View Post
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.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid Newbie RH2.5 Squid 2.5, 4 ethernet question, default gw not an option Bindairdundat Linux - Newbie 5 05-14-2014 02:34 PM
Squid Config Question mattmanaway Linux - Server 4 10-03-2011 09:38 AM
[SOLVED] question on squid config struggled_newbie Linux - Newbie 4 10-28-2010 01:02 AM
Squid config, allow external IP address to connect to Squid langerak Linux - Server 10 08-04-2010 09:17 AM
Squid config question gubak Linux - Networking 4 12-10-2004 06:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration