LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 02-25-2012, 10:16 AM   #1
aminbaik
Member
 
Registered: Feb 2012
Posts: 44

Rep: Reputation: Disabled
solution like vpn


hello,
is there any way or solution that can work like vpn?
for example work over ssl and we can specify the port and make a tunel between the server and client ?
thanks.
 
Old 02-26-2012, 02:54 AM   #2
evo2
Senior Member
 
Registered: Jan 2009
Location: Japan
Distribution: Debian
Posts: 4,821

Rep: Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022
Hi,

you can very easily make a tunnel over ssh. For example to make port 6666 on the localhost point to port 6667 on machine "foo", you can do

Code:
ssh -L 6666:localhost:6667 foo
See also -R for creating a tunnel in the opposite direction, and -D to create a socks tunnel.

HTH,

Evo2.

---------- Post added 2012-02-26 at 17:55 ----------

Hi,

you can very easily make a tunnel over ssh. For example to make port 6666 on the localhost point to port 6667 on machine "foo", you can do

Code:
ssh -L 6666:localhost:6667 foo
See also -R for creating a tunnel in the opposite direction, and -D to create a socks tunnel.

HTH,

Evo2.
 
Old 02-26-2012, 03:41 AM   #3
aminbaik
Member
 
Registered: Feb 2012
Posts: 44

Original Poster
Rep: Reputation: Disabled
hello,
please not that i have servr centos and the client could be xp, iphone and ipad,
could you please give me more details please.
thanks.
 
Old 02-27-2012, 05:04 AM   #4
evo2
Senior Member
 
Registered: Jan 2009
Location: Japan
Distribution: Debian
Posts: 4,821

Rep: Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022
Hi,

as far as centos goes, installing sshd should be trivial using yum (if it is not installed already). As for the other operating systems you mention, I'm not familiar with them so I cant be of any help. I guess you have a few options. For example:

- Install something like open-vpn on your centos machine
- Try somewhere else (eg xp/iphone/ipad forums?)for help with your other OSs

Cheers,

Evo2.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VPN - box solution ? czezz General 1 04-03-2008 11:05 PM
Recommended VPN Solution davidz Linux - Networking 11 10-26-2007 01:29 PM
VPN Solution maxcell Linux - Networking 3 09-08-2007 11:44 AM
Looking for VPN Solution dleidlein Linux - Networking 1 05-02-2006 09:49 AM
Good VPN solution tarballedtux Linux - Security 1 11-01-2002 08:45 AM


All times are GMT -5. The time now is 01:50 PM.

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