* [Sysadmins] DHCP && IPTOOLS
@ 2008-10-02 14:07 Kulik Dmitriy
2008-10-02 14:33 ` Andrii Dobrovol`s`kii
0 siblings, 1 reply; 2+ messages in thread
From: Kulik Dmitriy @ 2008-10-02 14:07 UTC (permalink / raw)
To: Sysadmins
Подскажите как пробросить dhcp пакеты через iptools. dhcpd полностью
настроен, но клиенты немогут получить адрес...
делаю так.... но некатит...
iptables -t filter -A INPUT -p udp --sport 67 -j ACCEPT
iptables -t filter -A FORWARD -p udp --sport 67 -j ACCEPT
iptables -t filter -A FORWARD -p udp --dport 67 -j ACCEPT
iptables -t filter -A OUTPUT -p udp --dport 67 -j ACCEPT
iptables -t filter -A INPUT -p udp --sport 68 -j ACCEPT
iptables -t filter -A FORWARD -p udp --sport 68 -j ACCEPT
iptables -t filter -A FORWARD -p udp --dport 68 -j ACCEPT
iptables -t filter -A OUTPUT -p udp --dport 68 -j ACCEPT
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Sysadmins] DHCP && IPTOOLS
2008-10-02 14:07 [Sysadmins] DHCP && IPTOOLS Kulik Dmitriy
@ 2008-10-02 14:33 ` Andrii Dobrovol`s`kii
0 siblings, 0 replies; 2+ messages in thread
From: Andrii Dobrovol`s`kii @ 2008-10-02 14:33 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
[-- Attachment #1: Type: text/plain, Size: 1380 bytes --]
Kulik Dmitriy пишет:
> Подскажите как пробросить dhcp пакеты через iptools. dhcpd полностью
> настроен, но клиенты немогут получить адрес...
> делаю так.... но некатит...
> iptables -t filter -A INPUT -p udp --sport 67 -j ACCEPT
> iptables -t filter -A FORWARD -p udp --sport 67 -j ACCEPT
> iptables -t filter -A FORWARD -p udp --dport 67 -j ACCEPT
> iptables -t filter -A OUTPUT -p udp --dport 67 -j ACCEPT
>
> iptables -t filter -A INPUT -p udp --sport 68 -j ACCEPT
> iptables -t filter -A FORWARD -p udp --sport 68 -j ACCEPT
> iptables -t filter -A FORWARD -p udp --dport 68 -j ACCEPT
> iptables -t filter -A OUTPUT -p udp --dport 68 -j ACCEPT
>
Одних только этих правил мало, чтоб понять что там у Вас происходит.
Напустите на интерфейс анализатор трафика и тогда станет понятнее
режутся ли пакеты. Вообще-то раньше зарезать эти пакеты было не
так-то просто. И когда говорите а сетевом экране показывайте его
реальное состояние (iptables -L -v) для всех цепочек или хоть для
упоминающихся.
--
Rgrds,
Andriy
*********************************************************************
email: dobr at iop dot kiev dot ua Kyiv, Ukraine
Phone: (380-44) 525-7824 Department of Gas Electronics
Fax: (380-44) 525-2329 Institute of Physics of NASU
*********************dobrATjabber.iop.kiev.ua************************
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-02 14:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-02 14:07 [Sysadmins] DHCP && IPTOOLS Kulik Dmitriy
2008-10-02 14:33 ` Andrii Dobrovol`s`kii
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git