LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 07-16-2006, 08:50 AM   #1
ihtus
LQ Newbie
 
Registered: Mar 2006
Posts: 19

Rep: Reputation: 0
Arrow Open some specific ports in SQUID


hi
i wanna change the squid.conf to allow users download through p2p <=> i need to open some ports for emule (4662,4672) and for Torrent (for ex 22373)
My questin is: how can i open these ports in squid.conf?
Is what i am describing here - right? if no - please provide me a right config for openening there ports

Code:
acl SSL_ports port 443 563 
acl Safe_ports port 80        # http 
acl Safe_ports port 21 20    # ftp 
acl Safe_ports port 443 563    # https, snews 
acl Safe_ports port 70        # gopher 
acl Safe_ports port 210        # wais 
acl Safe_ports port 1020-65535    # unregistered ports 
acl Safe_ports port 280        # http-mgmt 
acl Safe_ports port 488        # gss-http 
acl Safe_ports port 591        # filemaker 
acl Safe_ports port 777        # multiling http 
 
.... 
http_access deny !Safe_ports
all the needed ports for p2p are in # unregistered ports range (emule, torrent)
and "http_access deny !Safe_ports" denies all ports except Safe_ports, anotherwords - allow Safe_ports only!

So using that config should allow users to use p2p connection? Am i right? If not, what should i do to allow that?
10x!
 
Old 07-17-2006, 08:18 PM   #2
win32sux
Moderator
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
are you sure those p2p apps work through proxies? cuz it sounds like you'd wanna NAT those, instead of proxying them...
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to display open ports on specific NIC ALInux Linux - Networking 3 12-03-2005 01:20 PM
how to open and block the ports in squid.... shahg_shahg Linux - Security 1 04-28-2005 06:01 PM
Simplest way to open and close specific ports ? Natimus Linux - Security 6 04-05-2005 09:01 AM
How to open specific ports on Mandrake 10? NorthStar Linux - Networking 2 09-04-2004 04:55 PM
How Do I Open Specific Ports? TankerKevo Red Hat 2 10-03-2003 12:31 AM


All times are GMT -5. The time now is 01:43 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration