SSH Tunnel over http proxy

UNBLOCK YOURSELF GUIDE

you need a SOCKS5 to handle every connection type?

ssh is blocked? add an aditional ssh port

nano /etc/ssh/sshd_config

          # This is ssh server systemwide configuration file.

          Port 22
          Port 8080 # Add this line to accept ssh connections on 8080

service sshd restart

SSH config file

nano ~/.ssh/config

## Outside of the firewall, with HTTPS proxy
Host hg-system
HostName hg-system.com # FQDN
Port 8080 #port which is not blocked inside the firewall
User ssh_username  # less writing : username@
IdentityFile ~/.ssh/id_dsa #passwortfile to autologin
DynamicForward 9999 #your socksproxy is later running under localhost:9999
ProxyCommand corkscrew proxy.yourcompany.com 80 %h %p # (optional if you only get internet access through a proxy) apt-get install corkscrew is required

TCPKeepAlive yes
ServerAliveInterval 60 # hold the ssh connection
# ClientAliveCountMax 99999 #number of retrys before ssh session will be closed
LogLevel QUIET #prevent information in the shell from connection interrupts
Compression no #yes reduce the bandwide recommend Mobile Connections
VisualHostKey yes
ControlPersist 1
you can connect by simple typing ssh hg-system
ServerSide

Tunneling over IPv6

Tunneling over OzymanDNS (big overhead through DNS Querys) visit https://dnstunnel.de for details

your wifi is connected but no internet access only http to special sites?

may  can help you

http proxy needed?

apt-get install corkscrew

Schreibe einen Kommentar