AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Ssh over proxy12/19/2023 SSH already provides a secure way of communicating via encrypted channels. TOR is a popular anonymity software that supports tunneling any protocol over its SOCKS5 proxy. But SSH itself can be tunneled over other protocols such as SOCKS. Although you should be able to set up the outer tunnel once, and then just leave it up. So far, we've discussed how SSH supports tunneling inside existing SSH sessions. creating a tunnel from firewall_1 and then using it from server_1) is difficult, let me know with a bit more complexity, it's possible to fire it all off from server_1 with a single command. This SSHes into port 5432 on the IP address 10.2.0.2, which the outer tunnel forwards to 10.3.0.3 (server_2) port 22 (standard SSH).īTW, if coordinating the setup on multiple computers (i.e. Then, from server_1, run rsync and use its -e option to run it over SSH: server_1# rsync -e "ssh -N -p5432 -c 3des" -a /local/path :/remote/path Note that this runs the local (firewall_1) end of the tunnel on bound to its internal IP (10.2.0.2), on an arbitrary port (I used 5432). Probably the simplest thing to do is to tunnel rsync over SSH tunneled over SSH (clearly, "simplest" is relative). In the proxy type section, select SOCKS5. Click on Proxy on the PuTTY configuration sidebar menu. via NAT), or only by proxying via firewall_1? Since you don't specify, I'll assume not. Here are the steps to fire up the PuTTY SOCKS proxy over an SSH server: Launch PuTTY. Can computers on network 1 (10.2.0.*) reach the internet directly (i.e. I'm assuming the SSH port on firewall_2 ("BC" in your diagram) is accessible from the outside.
0 Comments
Read More
Leave a Reply. |