SSH-SOCKS5

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
lukaluki
Black ninja
Black ninja
Posts: 67
Joined: 08 Dec 2011, 01:01
Location: asdfw

SSH-SOCKS5

Post#1 by lukaluki » 20 Mar 2013, 11:20

Hello,

I see many options in the KDE Network Connection Pannel for using different types of VPN's.
But is there a way to also configure a SSH-SOCKS5 Proxy?

kind regards

User avatar
fanthom
Site Admin
Site Admin
Posts: 4566
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: SSH-SOCKS5

Post#2 by fanthom » 20 Mar 2013, 13:18

server must run sshd. client must create a tunnel with following command:

Code: Select all

ssh user@SERVER_IP -D 8080
now you go to firefox preferences and set host: 127.0.0.1, port 8080 as SOCKS 5

Cheers
Please add [Solved] to your thread title if the solution was found.

User avatar
Hamza
Warlord
Warlord
Posts: 1847
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: SSH-SOCKS5

Post#3 by Hamza » 20 Mar 2013, 13:20

You must allow ssh tunnel into ssh config too.
NjVFQzY2Rg==

lukaluki
Black ninja
Black ninja
Posts: 67
Joined: 08 Dec 2011, 01:01
Location: asdfw

Re: SSH-SOCKS5

Post#4 by lukaluki » 20 Mar 2013, 16:11

I see. Is there a method to route all traffic through that ssh tunnel first, like the windows application "proxifier" can ?
Only setting this in firefox would only force firefox to use it, will be more secure if all traffic has to.

- please dont call me a paranoid :)

kind regards

User avatar
Hamza
Warlord
Warlord
Posts: 1847
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: SSH-SOCKS5

Post#5 by Hamza » 20 Mar 2013, 17:20

Please have a look there for detailed explanation. I don't suggests this but that's your choice. :)
NjVFQzY2Rg==

Post Reply