Different dhcpd.conf options for the same networks
From: Diesis (diesis_at_despammed.com)
Date: 09/07/04
- Next message: NoNameHere: "* New HOWTO Article - Making a simple Linux Firewall"
- Previous message: Gandalf Parker: "Re: Automatic blocking of attackers' IP"
- Next in thread: James Knott: "Re: Different dhcpd.conf options for the same networks"
- Reply: James Knott: "Re: Different dhcpd.conf options for the same networks"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 07 Sep 2004 17:53:33 +0200
Hello,
QUICK:
how do assign options to remote vpn clients that request ip address
differently from local lan clients even if they share the same subnet ?
LONG:
I have configured an host with OpenVPN in bridged mode.
Here I have:
eth0, internal, bridged with br0
eth1, external, connected to the Nat router.
On this machine runs (don't blame me) dhcpd that (please don't blame me
anymore) give leases to the internal Lan clients, and, because it must
listen on br0, to the 'remote lan' clients.
Problem: local Lan pc's must have as default gateway br0's ip address to
surf the Internet, that is:
option routers a.b.c.d;
Naturally this couldn't be right for the VPN clients,because they will
have a different gateway already assigned, but now they receive the same
configurations.
I have thought to build a 'known clients' pool for the lan with the
gateway option, and an 'unknown clients' pool for the vpn clients
without the gateway option.
Is there another solution based on the fact that dhcp request for the
vpn clients doesn't come from the internal lan ?
I hope I've been clear enough :)
-- Diesis
- Next message: NoNameHere: "* New HOWTO Article - Making a simple Linux Firewall"
- Previous message: Gandalf Parker: "Re: Automatic blocking of attackers' IP"
- Next in thread: James Knott: "Re: Different dhcpd.conf options for the same networks"
- Reply: James Knott: "Re: Different dhcpd.conf options for the same networks"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|