![]() ![]() For example, we have a sshd server s2 and another server s1 as the proxy server. Then mark the file as executable: chmod a+x /opt/netflix. We can set up a more complex proxy server through ssh. As described herein, we propose an SSH proxy server. Autossh simply restarts the SSH connection in case it drops. In existing SSH proxy servers, the source code must be changed directly to change the proxy server behavior. That way, we can navigate the web as if we were using a browser installed on the SSH server located at 10.1.4.100. Your servers can create a reverse ssh tunnel to which you can connect. ssh -D 8080 user10.1.4.100 We can configure a browser on the client host to use our SOCKS proxy server on 127.0.0.1, port 8080. If you don’t have autossh installed, you can install it with apt, or replace “autossh” with “ssh” in the script, if you have very reliable connection to the ssh server. Instead, offers a simple, secure solution. This will run Chrome with localhost using ssh tunnel as a proxy, and use dedicated browser profile, so it will start completely different process and don’t mess with your normal Chrome processes in any way. Google-chrome-stable -user-data-dir=.netflix/ -proxy-server="socks5://localhost:8888" Then, create a file, for example /opt/netflix.sh #!/bin/bash In the Connection -> SSH -> Tunnels section, create a secure tunnel by forwarding a port (the destination port) on the remote server to a. To avoid having to deal with password, copy your ssh key to the server (run ssh-keygen in case you don’t have key pair yet). I use this method to watch Netflix and bypass country restrictions, and to test website access speed from different locations, but it can be used for many other purposes.įirst thing you need is server with SSH access. I will show how to use any server with ssh as a proxy, I’m doing this on Debian Linux, but it should be the same on all Debian derivatives, and very similar on any other Linux distribution. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |