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

Re: [Openvpn-users] openvpn-2.0_beta4 --mode server in Bridged configuration


  • Subject: Re: [Openvpn-users] openvpn-2.0_beta4 --mode server in Bridged configuration
  • From: "Adam Pavelec" <apavelec@xxxxxxxxxxxxxxxxxxxx>
  • Date: Sat, 12 Jun 2004 15:38:13 -0400

On Saturday, June 12, 2004 5:01 AM [GMT-5=EST], Mathias Sundman
<mathias@xxxxxxxxxx> wrote:

>> Is it currently possible to set up OpenVPN 2.0 b4 in server mode as
>> a Bridged configuration?

> Yes. You do it exactly the same way as with 1.5 or 1.6. The only
> difference is that you only have to bridge ONE tap device with your
> local nic instead of one tap device for each client.

When I add 'mode server' to my config[1], I receive the following error
message:

-----BEGIN ERROR MESSAGE-----
Options error: --mode server requires --tls-server
Use --help for more information.
Press any key to continue...
-----END ERROR MESSAGE-----

It appears that server mode will only work with tls and not tap.  Is this to
say that I won't be able to use pre-shared secret keys in server mode?  If
so, this is no big deal, but could someone please point me to detailed
instructions for creating the applicable certificates in the win32 realm?

-Adam

[1]below is my current config for an OpenVPN Server on a Win32 system
configured for Bridge mode:

#############################################
# OpenVPN Bridge config, Win32 Server
# (For openvpn-2.0_beta4)

#############################################
# Set Local IP Address and Port
local 192.168.1.100
port 5000

#############################################
# Configure & Explicitly Set TAP-Win32 Device
dev tap
dev-node OpenVPN

#############################################
# Set Secret Key
secret key.asc

#############################################
# Don't Reload Key, Keep Device Open
persist-key
persist-tun

#############################################
# Set Server Mode
mode server

#############################################
# Retain Dynamic IP Addresses' Connections
ping-timer-rem
ping-restart 60
ping 10

#############################################
# Set Compression & Verbose Modes
comp-lzo
verb 4

#############################################
# Tweak Connection
tun-mtu 1500
mssfix 1400
fragment 1400

#############################################
# Add Route to ********
route 172.16.10.0 255.255.255.0 192.168.1.10

# End of config
#############################################


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