Umgehen des Proxyservers von Innen

Aus xinux.net
Zur Navigation springen Zur Suche springen

Vorbereitung

  • Folgendes Setup wird verwendet

HTTPumgehen.png

Squidserver

Install Squid

  • root@squidserver:~# apt-get install squid3
  • root@squidserver:~# netstat -lntp | grep squid
tcp        0      0 0.0.0.0:3128            0.0.0.0:*               LISTEN      11456/(squid-1)

SSH auf Port 53

  • root@squidserver:~# echo Port 22 >> /etc/ssh/sshd_config
  • root@squidserver:~# systemctl restart ssh
  • root@squidserver:~# netstat -lntp | grep 0.0.0.0:53
tcp        0      0 0.0.0.0:53              0.0.0.0:*               LISTEN      11573/sshd

Windows

Plink

Download

Start

  • C:\Users\xinux>plink -P 53 -N -T -noagent -L 8080:localhost:3128 root@noezel.tuxmen.de
The server's host key is not cached in the registry. You
have no guarantee that the server is the computer you
think it is.
The server's rsa2 key fingerprint is:
ssh-rsa 2048 1b:12:d7:f0:4b:d2:3e:36:f8:48:2e:fc:98:6f:ae:60
If you trust this host, enter "y" to add the key to
PuTTY's cache and carry on connecting.
If you want to carry on connecting just once, without
adding the key to the cache, enter "n".
If you do not trust this host, press Return to abandon the
connection.
  • Store key in cache? (y/n) y
Using username "root".
  • root@noezel.tuxmen.de's password:xxxxxx

Proxysettings

Proxyumgehen-1.png

Browser

Proxyumgehen-2.png

Optionen