[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] Setting up multiple VPNs from a single gateway


  • Subject: Re: [Openvpn-users] Setting up multiple VPNs from a single gateway
  • From: Michael Renner <michael.renner@xxxxxx>
  • Date: Wed, 2 Jun 2004 08:58:53 +0200

On Wednesday 02 June 2004 01:17, Alex G. wrote:
> Hi all,

Moin,

> We're trying to set up some VPNs from our company's
> gateway (OpenBSD 3.5 running the OpenVPN 1.5.0
> package).
>
> Running a single VPN using the man page example works
> fine, using the tun0 device and a point-to-point
> connection.  When I try to add a second VPN on tun1,
> it fails with the following error:
>
> Socket bind failed on local address [undef]:5000:
> Address already in use

you have to define diferent UDP ports for the two tunnels. From the help:
--port port     : TCP/UDP port # for both local and remote.
--lport port    : TCP/UDP port # for local (default=5000).
--rport port    : TCP/UDP port # for remote (default=5000).

We use ports above 5019: 5020 for tun0, 5021 for tun1 and so on.

CU
-- 

|Michael Renner      E-mail: michael.renner@xxxxxx  |
|D-72072 Tuebingen   Germany                        |
|Germany             Don't drink as root!      ESC:wq


____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2004-06/msg00034.html on line 205

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2004-06/msg00034.html on line 205