LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   solution like vpn (https://www.linuxquestions.org/questions/linux-networking-3/solution-like-vpn-931230/)

aminbaik 02-25-2012 10:16 AM

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.

evo2 02-26-2012 02:54 AM

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.

aminbaik 02-26-2012 03:41 AM

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.

evo2 02-27-2012 05:04 AM

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.


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