From: Carsten Maass <cm@blinkenlichten.de>
To: netfilter@lists.netfilter.org
Subject: Redirect DHCP requests to DMZ?
Date: Wed, 23 Apr 2003 12:08:52 +0200 [thread overview]
Message-ID: <3EA66634.2020508@blinkenlichten.de> (raw)
Hello List!
My network layout looks like this:
Local LAN (192.168.20.*)
|
|
Switch
|
|
Router/Firewall ---- DMZ (192.168.21.*)
|
|
|
Internet
Everything runs smoothly, except for one thing: I am unable to redirect
DHCP request from the clients on the local LAN to the DHCP server inside
the DMZ.
So my question is: How can I accomplish this task? Is it at all possible
to redirect broadcasts from one subnet to another with the help of iptables?
I tried the following rules, but they didn't work out:
$IPTABLES -A FORWARD -p UDP -i $LAN_IFACE --dport 67 --sport 68 -j ACCEPT
$IPTABLES -t nat -A PREROUTING -p UDP -i $LAN_IFACE -d 255.255.255.255
--dport 67 -j DNAT --to-destination $DMZ_DHCP_IP
I am running iptables v1.2.6a with kernel 2.4.20 on Debian GNU/Linux 3.0.
Any hint would be highly appreciated.
Thanks in advance,
Carsten.
next reply other threads:[~2003-04-23 10:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-23 10:08 Carsten Maass [this message]
2003-04-23 12:19 ` Redirect DHCP requests to DMZ? Cedric Blancher
2003-04-23 16:21 ` Arnt Karlsen
2003-04-23 17:47 ` Carsten Maass
2003-04-23 16:58 ` Carsten Maass
2003-04-23 17:58 ` Jesper Lund
2003-04-24 9:00 ` Cedric Blancher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3EA66634.2020508@blinkenlichten.de \
--to=cm@blinkenlichten.de \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox