Umgehen des Proxyservers von Innen: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) |
Thomas (Diskussion | Beiträge) (→Plink) |
||
| Zeile 13: | Zeile 13: | ||
==Windows== | ==Windows== | ||
===Plink=== | ===Plink=== | ||
| + | ====Download==== | ||
*http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html | *http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html | ||
| + | ====Start==== | ||
| + | *C:\Users\xinux>plink -P 53 -N -T -noagent -L 8080:localhost:3128 root@noezel.tuxmen.de | ||
| + | <pre> | ||
| + | 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. | ||
| + | </pre> | ||
| + | *Store key in cache? (y/n) y | ||
| + | Using username "root". | ||
| + | *root@noezel.tuxmen.de's password:xxxxxx | ||
| + | |||
===Optionen=== | ===Optionen=== | ||
*[[Plink]] | *[[Plink]] | ||
Version vom 23. August 2016, 12:51 Uhr
Vorbereitung
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