Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 07-01-2007, 01:09 PM   #1
Registered: Sep 2005
Distribution: Debian unstable && Kazit (reformated knoppix)
Posts: 194

Rep: Reputation: 31
how can i tunnel all network with ssh connection ?

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
this pc uses debian Lenny with sshd started on it.

i take a client pc and do:
ssh -2 -R 7654:localhost:7654 -A -D 1080 user@
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 : to do that with iptables (rule that will forward all connections to spesific port on the client)
2.that this is the right solution

client :
Acer 5102 Wlmi running sid amd64.
Server :
Lenny i386.
Old 07-02-2007, 11:15 AM   #2
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
This doesn't sound like a job for iptables - or ssh for that matter.

Have you considered OpenVPN?
Old 07-06-2007, 03:08 PM   #3
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53

Look at the SSH-based VPN section.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
setting up an ssh soxy or local ssh tunnel from within an ssh soxy Mangenius Linux - Networking 0 03-05-2007 03:15 PM
SSH Tunnel - need some help on this MeridianRebel Linux - Networking 2 08-11-2005 02:10 PM
ssh tunnel crep Linux - Networking 2 08-25-2004 08:24 PM
SSH connection lags within network eam Linux - General 3 08-02-2004 10:17 AM
Ssh Tunnel tinaa Linux - Software 7 07-29-2003 07:52 PM

All times are GMT -5. The time now is 10:14 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration