ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Andrii Dobrovol`s`kii <dobr@iop.kiev.ua>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] DHCP && IPTOOLS
Date: Thu, 02 Oct 2008 17:33:30 +0300
Message-ID: <48E4DBBA.9080301@iop.kiev.ua> (raw)
In-Reply-To: <48E4D5A3.3090704@gmail.com>

[-- 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 --]

      reply	other threads:[~2008-10-02 14:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-02 14:07 Kulik Dmitriy
2008-10-02 14:33 ` Andrii Dobrovol`s`kii [this message]

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=48E4DBBA.9080301@iop.kiev.ua \
    --to=dobr@iop.kiev.ua \
    --cc=sysadmins@lists.altlinux.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

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