Client to Client tunnel

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
hipple
OpenVpn Newbie
Posts: 2
Joined: Mon Dec 09, 2013 4:46 am

Client to Client tunnel

Post by hipple » Mon Dec 09, 2013 4:53 am

Hello,
I am new to openvpn. I have setup a server and have 2 clients connecting to the server.
server ip 10.8.0.1
client1 ip 10.8.0.6
client2 ip 10.8.0.10

Is there a way that from client2 I can ssh to client1 directly? I can get client2 to ssh into the server then ssh from the server to client1, but I would like to do it in one step. Also can I setup the server so if client1 is running a web server I can get to in from client2? So in client2 browser just put in 10.8.0.6.

is this possible?

thanks
Dave.

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Client to Client tunnel

Post by maikcat » Mon Dec 09, 2013 11:25 am

hello there,
Is there a way that from client2 I can ssh to client1 directly?
yeap simply add

Code: Select all

 client-to-client
to your server config,

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

hipple
OpenVpn Newbie
Posts: 2
Joined: Mon Dec 09, 2013 4:46 am

Re: Client to Client tunnel

Post by hipple » Tue Dec 10, 2013 2:12 am

Thank you so much. I missed that in reading server config file.
Thanks for your help.

Post Reply