Koozali.org: home of the SME Server

OPENVPN Tunnels and client/server

Offline albatroz

  • *****
  • 159
  • +0/-0
OPENVPN Tunnels and client/server
« 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

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
OPENVPN Tunnels and client/server
« Reply #1 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

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
OPENVPN Tunnels and client/server
« Reply #2 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?

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
OPENVPN Tunnels and client/server
« Reply #3 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)

artful

OPENVPN Tunnels and client/server
« Reply #4 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

Inq

OPENVPN Tunnels and client/server
« Reply #5 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?

artful

OPENVPN Tunnels and client/server
« Reply #6 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?