Closed thienha1 closed 3 years ago
But why? You want to rely on browser extension for your encryption? It's a complete overkill, what's wrong with $ ssh
and putty
?
connect:
local_port="3001"
remote_port="22"
user="socksuser"
host="192.168.1.1"
key_file="${HOME}/.ssh/id_ed25519"
sock_file="~/${local_port}_${host}.sock"
cmd_up="ssh -f -N -M -S ${sock_file} -p ${remote_port} -D ${local_port} -i ${key_file} ${user}@${host}"
disconnect:
cmd_down="ssh -S ${sock_file} -O exit ${host}"
Resulting SOCKS5 proxy address: 127.0.0.1:3001
But I can't using SSH per tab like this, multiple running ssh just to run proxy SOCKS5
? This scheme supports multiple instances - just change the local port [and socks file].
To be honest I'm not 100% sure what is meant here. If you want FF to establish SSH tunnel as another "proxy type" then it is not possible to do in web extension. It can only support what FF supports by itself: SOCKS5, SOCKS4, HTTP, HTTPS.
Can you make it work with SSH Tunnel, also test it after save?