[Dnsmasq-discuss] Different IP Address range for OpenVPN clients?
Mike
azmr at earthlink.net
Wed Aug 30 21:33:20 BST 2006
On Wed, 30 Aug 2006, Matthias Andree wrote:
> On Wed, 30 Aug 2006, Mike wrote:
>
>> dhcp-option=1,255.255.255.0 # subnet mask
>> dhcp-option=42,10.169.1.1 # NTP server
>> dhcp-mac=ovpn,00:FF:*:*:*:*
>
>> dhcp-option=ovpn,3 # Don't send default GW to openvpn
>> # clients
>> #
>> # DHCP address range
>> #
>> dhcp-range=10.169.1.17,10.169.1.63,255.255.255.0,12h # DHCP addr > range for LAN clients
>> dhcp-range=ovpn,10.169.1.120,10.169.1.125,255.255.255.0,6h # DHCP addr > range for OpenVPN clients
>
> Well, these are all defining the ovpn network tag, but I see no
> instructions to match (= use) this (that would be net:ovpn rather than
> net).
>
> But before you delve deeper into the configuration: if you do not need
> to resolve the road warrior's host names, the easiest approach would be
> to configure an address pool in OpenVPN 2.0 and hand out IPs from there
> dynamically (well, unless you run out of IPs, they can be made static
> just like they are in DHCP). Check the OpenVPN HOWTO for the "server"
> (or perhaps "server-bridge" in your setup if you're using TAP) and the
> ifconfig-pool-persist options.
>
>
Thanks Matthias. There really is no need to resolve the RW host names
(although it is nice). I did read about OpenVPN's capability to assign IP
addresses but was hoping to confine that task exclusivley to dnsmasq.
More information about the Dnsmasq-discuss
mailing list