You are not logged in.
consider the following situation: port 22 and 80 are open but most of the other more or less useful ports are closed.
i'd like to automatically route all traffic through my ssh connection (preferably without having to mess around with proxy settings).
is this possible using ssh?
Offline
sounds like you are asking for a layer 3 vpn over ssh.
so yes, you can do it (it takes a bit of work).
quick google result: https://help.ubuntu.com/community/SSH_VPN
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
You could also setup a local SOCKS proxy. Read about the -D flag in man ssh.
"I'm Winston Wolfe. I solve problems."
~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~
Offline
thanks for your replies and sorry for my late answer
i did know about the -D flag (using it regularly to login to ICQ/MSN from my workplace), but i don't want to alter proxy settings for all apps using the internet.
i did read up on vpn over ssh, but it seemed a bit too much work, considering i'm not strictly limited to ssh. it's my own server so i could set up openvpn/xxx on it.
Offline