Good day,...
i have heared about tunneling specific programs with ssh (setting up
firefox and gaim azureus
to use ssh) but
i wish more :
i need to find a way to take all my network transfer and tunnel them
to a spesific ssh season:
for example i have a pc that connected to the internet (for example
the IP will be 84.84.84.84)
this pc uses debian Lenny with sshd started on it.
i take a client pc and do:
Code:
ssh -2 -R 7654:localhost:7654 -A -D 1080
but now i need to make each program to use socks proxy server/
what i wish to do is to same how tunnel all connections to the ssh
seasion.
i guess i should create a rule to iptable to send all connection
attempts to that port but im not sure :
1.how to do that with iptables (rule that will forward all connections
to spesific port on the client)
2.that this is the right solution
P.s.
client :
Acer 5102 Wlmi running sid amd64.
Server :
Lenny i386.
--
--
Could you at least use man ?
Jabka Atu (aka mha13/Mashrom Head)
--
--
Bookmark/Search this post with:
how to tunnel all network to a specific ssh season
On Sun, Jul 01, 2007 at 09:19:39PM +0300, Jabka Atu wrote:
> Good day,...
>
> i have heared about tunneling specific programs with ssh (setting up
> firefox and gaim azureus
> to use ssh) but
> i wish more :
> i need to find a way to take all my network transfer and tunnel them
> to a spesific ssh season:
> for example i have a pc that connected to the internet (for example
> the IP will be 84.84.84.84)
> this pc uses debian Lenny with sshd started on it.
Older versions of ssh can only do port forwarding, which is very useful
but not exactly what you're looking for.
Sounds like you're looking for a VPN instead - which requires the
participation of another host (for the other endpoint of the VPN).
Possible ways forward:
- Look into ssh-based VPNs. It's quite well documented (although I've
never used that bit myself)
- Look into a dedicated VPN software, e.g. openvpn
Both should set up an additional network interface - all traffic for
that (virtual) network interface will be encrypted and routed to the
target host and decrypted there. As far as applications are concerned,
it's just a normal network interface.
Hope this helps
--
Karl E. Jorgensen
http://www.jorgensen.org.uk/
http://karl.jorgensen.com
==== Today's fortune:
Q: Why did the chicken cross the road?
A: He was giving it last rites.