Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: albatroz on July 01, 2005, 08:41:41 PM

Title: OPENVPN Tunnels and client/server
Post by: albatroz on July 01, 2005, 08:41:41 PM
Hi!
I wonder if there is a Howto for creating tunnels
between 2 remote LANS using SME 6.01 boxes and openvpn.

I know there is a howto for client/server (road warrior) configuration but would like to find also a server/server configuration document.

Thanks in advance
Title: OPENVPN Tunnels and client/server
Post by: Knuddi on July 05, 2005, 11:06:34 PM
This setup can be made quite similar. Just skip the authentication lines and you are running.

Server Side (one has to be) skip:
auth-user-pass-verify ./validate.sh via-env

Client side skip:
auth-user-pass

Rgds,
Jesper
Title: OPENVPN Tunnels and client/server
Post by: Franco on July 06, 2005, 05:47:50 AM
Knuddi,
You're saying I can set OVPN on both ends using your tutorial and skip these lines to make an end-to-end connection?
(Gee, it took me days to make it the hard way)

Will roadwarriors still connect, or does this limit to P2P?
Title: OPENVPN Tunnels and client/server
Post by: Knuddi on July 06, 2005, 09:02:34 AM
If you want roadwarriors to connect to same point (server) then you need to create a new .conf file on the server where they connect for the P2P and use a different port (fx. 1195)
Title: OPENVPN Tunnels and client/server
Post by: artful on August 03, 2005, 08:57:07 PM
Can someone help me?

I want to connect 2 servers with this openvpn.
I aleady have one server set up as 'server'.

Now I need to know which files I need to place (and where) for the other server to act as the 'client' in the openvpn setup.

Thanks in advance
Title: OPENVPN Tunnels and client/server
Post by: Inq on August 04, 2005, 10:36:11 AM
Quote
Can someone help me?

I want to connect 2 servers with this openvpn.
I aleady have one server set up as 'server'.

Now I need to know which files I need to place (and where) for the other server to act as the 'client' in the openvpn setup.

Thanks in advance


Knuddi has made a howto http://sme.swerts-knudsen.dk/index.html?frame=http%3A//sme.swerts-knudsen.dk/howtos/howto_30.htm on this.


Re the server to server in the original question. I've removed the autehnifacation checks, but I'm haveing trouble sharing the connection to members of the remote network. SME has openvpn and windows 2k pro has the client. Is it possible for each network to view the others workgroup?
Title: OPENVPN Tunnels and client/server
Post by: artful on August 04, 2005, 06:23:30 PM
inq
Quote
Re the server to server in the original question. I've removed the autehnifacation checks, but I'm haveing trouble sharing the connection to members of the remote network. SME has openvpn and windows 2k pro has the client. Is it possible for each network to view the others workgroup?


if you have this running already (server/server) then you should be able to help me with my question.

what config files should I use on the client side?
and where should I place them? in /etc/openvpn/keys?