ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Slava Dubrovskiy <slava@tangramltd.com>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] роутер в ALC 3.0
Date: Thu, 26 Apr 2007 16:51:41 +0300
Message-ID: <4630AE6D.9020202@tangramltd.com> (raw)
In-Reply-To: <f0qag1$q3e$1@sea.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 2718 bytes --]

Andrei Lomov пишет:
> Други, прошу помощи.
>
> Есть машина-роутер, нормально работает под ALM 2.4.
>
> Поставил на нее ALC 3.0, перенес настройки сети, 
> локально вроде все работает, и сам роутер в и-нет 
> ходит нормально, а вот через него перестали идти пинги наружу
> (по цифровым ip не идут пинги, 100% packet loss).
>
>
> Вот два вывода команды iptables-save на одной и той же машине-роутере
> (в ALC 3.0 и в ALM 2.4)
>
>
> ALC 3.0 (это не работает):
>
> iptables           [----]  0 L:[  1+ 0   1/ 20] *(0   / 637b)= #  35 0x23
> # Generated by iptables-save v1.3.1 on Thu Apr 26 16:22:53 2007
> *nat
> :PREROUTING ACCEPT [11:1355]
> :POSTROUTING ACCEPT [5:352]
> :OUTPUT ACCEPT [5:352]
> -A POSTROUTING -s 10.0.0.3 -j SNAT --to-source 172.22.22.22
> COMMIT
> # Completed on Thu Apr 26 16:22:53 2007
> # Generated by iptables-save v1.3.1 on Thu Apr 26 16:22:53 2007
> *filter
> :INPUT ACCEPT [837:36733]
> :FORWARD ACCEPT [0:0]
> :OUTPUT ACCEPT [594:144687]
> -A INPUT -d 10.0.0.2 -i eth0 -j DROP
> -A INPUT -d 10.0.0.3 -i eth0 -j DROP
> -A OUTPUT -o eth0 -m owner --uid-owner kostya -j DROP
> -A OUTPUT -o eth0 -m owner --uid-owner kolya -j DROP
> COMMIT
> # Completed on Thu Apr 26 16:22:53 2007
>
>
>
>
> ALM 2.4 (это работает):
>
> iptables           [----]  0 L:[  1+ 0   1/ 20] *(0   / 659b)= #  35 0x23
> # Generated by iptables-save v1.2.11 on Thu Apr 26 16:06:08 2007
> *nat
> :PREROUTING ACCEPT [28:2204]
> :POSTROUTING ACCEPT [4099:114888]
> :OUTPUT ACCEPT [4099:114888]
> -A POSTROUTING -s 10.0.0.3 -j SNAT --to-source 172.22.22.22
> COMMIT
> # Completed on Thu Apr 26 16:06:08 2007
> # Generated by iptables-save v1.2.11 on Thu Apr 26 16:06:08 2007
> *filter
> :INPUT ACCEPT [594:27821]
> :FORWARD ACCEPT [725:579494]
> :OUTPUT ACCEPT [4529:229583]
> -A INPUT -d 10.0.0.2 -i eth0 -j DROP
> -A INPUT -d 10.0.0.3 -i eth0 -j DROP
> -A OUTPUT -o eth0 -m owner --uid-owner kostya -j DROP
> -A OUTPUT -o eth0 -m owner --uid-owner kolya -j DROP
> COMMIT
> # Completed on Thu Apr 26 16:06:08 2007
>
>
> Разницу вижу только в том, что диапазоны в квадратных скобках
> различаются. И что это за диапазоны, где узнать можно?
>
> Что там в ALC такого особенного появилось с настройкой роутера?
>   
В /etc/net/sysctl.conf стоит net.ipv4.ip_forward = 0 ?

-- 
WBR,
Dubrovskiy Vyacheslav


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3249 bytes --]

  reply	other threads:[~2007-04-26 13:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-26 13:46 Andrei Lomov
2007-04-26 13:51 ` Slava Dubrovskiy [this message]
2007-04-26 14:23   ` Andrei Lomov
2007-04-27  8:32 ` Alexy Hammer

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=4630AE6D.9020202@tangramltd.com \
    --to=slava@tangramltd.com \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git