I wanted to establish secure channel for surfing when I’m outside home/office while on public wifi. So I installed squid and opened the default 3128 port. Afterwards started ssh with port 443. When I run network tools I found both 3128 and 443 are in LISTEN mode. Now I used the command “ssh -L 3128:localhost:443 localhost -f -N”
but I got error that localhost port 22 connection refused. Then I tried to open port 22 from squid and through firewall but failed. I couldn’t figure what my error is. Anyone please guide me how to open port 22 and bind 3128 to 443. And after binding socks port to http Am I secure totally?
Thanking you and awaiting reply