Nytro Posted November 1, 2011 Report Posted November 1, 2011 SSH Tunneling on WindowsEasy-breezy but necessary to bypass the prying eyes of customers sometimes. When you’re on an internal test you don’t want them to see you googling how to hack thier network in their logs!Setup Putty for SSH Tunnel (Reason: sets up loopback port (7070) on your local PC and connects over port 22 to the remote shell):Session: user@yourserver.com:22Connection>SSH: V2, Enable CompresionConnection>SSH>Tunnels>Source: 7070, Dynamic, ADDSession: Save, Openor on *nix or cygwin, create an SSH tunnel via command line:ssh -D 7070 -p 22 user@yourserver.com sleep 9999Setup Firefox to encrypt to use the tunnel:Tools > Options > Network > Settings > ManualSocks: 127.0.0.1: 7070click okSetup Firefox to use Remote DNS (Reason: By default, your local PC will do the DNS by default, but that will show what websites you are going to, so this step sends DNS over the ssh tunnel)about:config network.proxy.socks_remote_dns=trueRestart BrowserReason: configures firefox to route traffic through the tunnel you just madeTestView everything is over port 22View ip is different from whatismyip.comview filter in wireshark: dns, there should be no entriesvia digitalcrunch.comSursa: http://www.securityaegis.com/ssh-tunneling-on-windows/ Quote
l34k Posted November 1, 2011 Report Posted November 1, 2011 Multam!Procedura se refera la tunelarea traficului de HTTP peste SSH. Evident, gatewayul trebuie sa permita conectarea pe destination port 22, altfel nu va merge. Quote
adonisslanic Posted November 1, 2011 Report Posted November 1, 2011 wtf, chiar de chestia asta aveam nevoie acum xD thx a lot Nytro Quote