Tag: firewall

  • ssh to “beyond the corporate firewall” through a SOCKS proxy

    https://en.wikibooks.org/wiki/OpenSSH/Cookbook/Proxies_and_Jump_Hosts#Tunneling_SSH_Over_Tor_with_Netcat – this is THE ARTICLE — replace “Tor” in the example with your corporate SOCKS proxy http://superuser.com/questions/454210/how-can-i-use-ssh-with-a-socks-5-proxy http://linux.die.net/man/1/nc — a netcat manual page My $HOME/.ssh/config looks like this: # making use of “netcat” AKA “nc” — http://linux.die.net/man/1/nc # Host SOME_HOST_OUT_THERE User REMOTE_USER ProxyCommand /usr/bin/nc -X 5 -x SOCKS_PROXY_HOST:SOCKS_PROXY_PORT %h %p “As always” I connect to SOME_HOST_OUT_THERE like…

  • “netcat” can be used to proxy-enable “git”

    https://en.wikipedia.org/wiki/Netcat https://en.wikipedia.org/wiki/SOCKS https://en.wikipedia.org/wiki/Git_(software) This only works, if your proxy also supports SOCKS. netcat’s specific options: -x : specify proxy address and port -X : proxy protocol: …, “5” (SOCKS), … This approach should also work for a few more applications.