Strumenti Utente

Strumenti Sito


firewall_blocking_outgoing_connections

Questa è una vecchia versione del documento!


The problem

I often connect to Internet from a connection which blocks, by default, outgoing connections except for some given ports.

For instance, port 80 (http) is open, as are 443 (https), 995 (pop3s) and a few others… but port 22 (ssh) is closed. So if I want to be able to connect via ssh to a server of mine, I must configure the server to listen (also) on a different port… non blocked. Configuring the server to listen on multiple ports is trivial, this page is devoted to the problem of understanding which port can be used.

My solution

My rudimentary solution is composed of 3 parts:

  1. a Python script for opening ports, which must be ran on the server
  2. a Python script for probing ports, which must be ran from the client
  3. (optional) a php script for driving the server script in a way which is accessible from the blocked connection: via http
firewall_blocking_outgoing_connections.1298541798.txt.gz · Ultima modifica: 2011/02/24 11:03 da toobaz