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

[Openvpn-users] Using DCHP?


  • Subject: [Openvpn-users] Using DCHP?
  • From: "Frank Plohmann" <openvpn@xxxxxxxxxxxxxxxx>
  • Date: Wed, 20 Aug 2003 10:33:52 +0200
  • Importance: Normal

Hello everyone!

I'm very new to OpenVPN and I have a problem getting OpenVPN with a DHCP to
work. At first some background informations which are maybe needed.

I downloaded the current "OpenVPN 1.5-beta6" packages (TAR sources for the
Linux server and the installer for the Win2k clients). I also downloaded the
current version of LZO (1.08) and compiled/installed it on the Linux machine
to be able to compile the OpenVPN sources. OpenSSL is used in version
0.9.6i. I also installed the "bridge-utils" 0.9.6-2 to be able to enable
ethernet bridging.

The Linux server uses the 2.4.20 kernel (SuSE 8.2) and two ethernet
adapters. eth0 is pointing to the intranet and eth1 is pointing to the
internet (ADSL modem) with a dynamic IP. As firewall I use SuSEFirewall2 and
the following three lines were added to the custom script.

	iptables -A INPUT -i tap+ -j ACCEPT
	iptables -A INPUT -i br0 -j ACCEPT
	iptables -A FORWARD -i br0 -j ACCEPT

Bridging on eth0 (br0) is active by using the a slightly modified script
from the "INSTALL-win32.txt" help file.

If I use a fixed IP for the "my-tap" device on the Win2k clients it works
very well. But if I try to use the DCHP running on the Linux server (to
which I want connect via OpenVPN) the "my-tap" gets no correct IP address
(0.0.0.0) and _nothing_ is working. The DHCP gives the clients normally an
IP address in the range of 192.168.0.100 to 192.168.0.199 with netmask
255.255.255.0.

Any idea why DHCP is not working with OpenVPN? Can I even get it to work
with OpenVPN?

Thanks,
Frank


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