Now, configure /etc/nf: sudo nano /etc/nfĬhange the last line from socks4 127.0.0.1 9050 to socks5 127.0.0.1 17471.įinally, you can now run things like sudo proxychains apt upgrade -y and proxychains pip install. You can see it with ps aux |grep ssh or so. This doesn't seem like it's done anything, because it's running in the back ground. Next, we'll make a ssh connection from the isolated computer back to any computer it can SSH to which does have internet access, lets call it server. (quick primer, uses CTRL-B than another key, 'c' for another new shell, 'n/p' for cycling between shells, 'd' to detach and leave things running). Notice the last line there undid the apt proxy configuration?Īfter you have proxychains and tmux, you can get much more reliable operation, and without funky apt configuration changes, and pip / curl etc works too.įirst, start up tmux. Install proxychains and tmux: you might have luck with something like: sudo ssh -R 8080:us.:80 'Acquire::http::Proxy " | sudo tee /etc/apt//nf
0 Comments
Leave a Reply. |