Dear OpenVPN users
I've set up an OpenVPN server in a bridged setup for securing my
Wireless LAN. There is a DHCP server on the same machine as the OpenVPN
server.
I've have Mac OS X and Linux clients. With the Macs I've managed to get
the IP Address by setting the config option:
up "ifconfig tap0 up; ipconfig set tap0 DHCP; echo"
(as stated here:
http://lists.debian.org/debian-isp/2005/05/msg00008.html)
My problem is that I don't know how to get the Linux clients to get
their IP Address for tap0 also by DHCP. If I start the OpenVPN
connection, the tap device doesn't have an IP Address. When I do a
"dhclient tap0" command line afterwards, it works and an IP address is
pulled from the DHCP server. So my idea was to set something like
up "ifconfig tap0 up; dhclient tap0"
in the OpenVPN config file but this did not work.
Does anyone have a similar setup and working DHCP addressing by Linux
clients?
Thanks and best regards.
--
Dominik Meister <meister@xxxxxxxxxxxx>
My public GnuPG key is available at http://meischter.homelinux.org/gpg.txt
Attachment:
signature.asc
Description: This is a digitally signed message part
|