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

Is there some universal proxy server for fedora linux which allows any port?

I know:

  • SQUID proxy - seems that allows only HTTP and HTTPS (i'm using it now)
  • tiny proxy - also HTTP and HTTPS only

I need to open FTP, and some other specific ports..

share|improve this question

squid allows HTTP "CONNECT" proxying, which is usually used for HTTPS but in reality can be used for any kind of TCP connections.

If you are setting up a simple personal proxy, you might be fine with the SOCKS 5 server built into all SSH clients: ssh -D 1080 myhost and you get a proxy on localhost:1080.

Both will work for passive-mode TCP (not active).

share|improve this answer
Thanks! Are you talking about these lines in SQUID.conf? acl SSL_ports port 443 20 21, acl CONNECT method CONNECT and http_access deny CONNECT !SSL_ports. It doesn't work.. So I'll try SOCK 5. And what is difference between passive and active mode? – gaffcz Sep 27 '11 at 6:20
@gaffcz: FTP is different from other popular protocols in that it uses "data" connections separate from the "control" connection. In active mode, the server will connect back to your client for a data transfer. In passive mode, the client initiates all connections. FTP active mode, as well as incoming connections of any kind, are complicated when behind NATs and almost impossible behind proxy servers. Note: In both modes, data connections use randomly chosen target port numbers, so you will likely have to allow all ports. – grawity Sep 27 '11 at 12:41

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.