|
Re: lug-bg: MRTG and IPCHAINS problem
- Subject: Re: lug-bg: MRTG and IPCHAINS problem
- From: radoslav_kolev@xxxxxxxxxxx (Radoslav Kolev)
- Date: Tue, 26 Mar 2002 11:08:22 +0200
Marian Popov wrote:
>ipchains -A input -i eth1 -d 212.116.10.10 -s ! 212.116.10.10 -j ACCEPT
>ipchains -A output -i eth1 -s 212.116.10.10 -d ! 212.116.10.10 -j ACCEPT
>
ipchains -A input -i eth1 -s 212.116.10.10 -d 0/0 -j ACCEPT
ipchains -A output -i eth1 -s 0/0 -d 212.116.10.10 -j ACCEPT
Zdrasti mano!
Tva IP 212.116.10.10 IP-to na gateway-to li e? Ako e taka, to neshtata
rabotioat tochno kakto si triabva.
Meri ti trafika ot i kam routera. Pone az po drug nachin ne moga da si
obiasnia tozi rezultat. Tova IP triabva da ti e IPto na koeto iskash da
mu merish trafika. Inache v ipchains paketa minava po chainovete taka,
ako pristigne ot vat -->input-->forward-->output, v sluchaj che se
routira, i ne e sazdaden ot routera ili da e prednaznachen za nego. Za
razlika ot tova v 2.4 netfilter ako se forwardva minava samo prez
forward verigata.
RAdo
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|
|
|