Aller au contenu
Show basket Hide basket
Retour à Blog
Plein écran

Your ISP is blocking your port 80?

July 16, 2011 21:00 , par Inconnu - 0Pas de commentaire | No one following this article yet.
Viewed 769 times

That’s so stupid and explorative thing!

The easy and fast workaround comes in four steps:

  1. Configure a free dynamic dns service in your router
  2. Buy a cheap with 2 static IPs VPS service (I use siterack.net). Configure DNS properly with bind or CPanel.
  3. Setup crontab to run a proxy script every 30 seconds (append to /etc/crontab):
    * * * * * root webproxy.sh
    * * * * * root sleep 30; webproxy.sh
  4. Put webproxy.sh with execution permission bit in your PATH (change 84 to your webserver port and add an authorized key to your home server)
    #!/bin/bash
    netstat -tan | grep LISTEN | grep 80
    if [ "$?" -ne "0" ]; then
            ssh -f -L *:80:*:84 user@yourdynamicdnsaddress sleep 999d
    fi
Good luck :)

Source : http://blog.brauliobo.org/wordpress/2011/07/17/your-isp-is-blocking-your-port-80/

0Pas de commentaire

    Poster un commentaire

    Les champs sont obligatoires.

    Si vous vous êtes déjà enregistré(e) comme utilisateur, vous pouvez vous connecter pour être reconnu(e) automatiquement.

    Annuler