ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Vyacheslav A. Brunev" <bv@gres.tomske.elektra.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] routing и NAT
Date: Thu, 20 Mar 2008 10:44:41 +0600
Message-ID: <200803201044.41611.bv@gres.tomske.elektra.ru> (raw)
In-Reply-To: <1727486999.20080318220409@inbox.ru>

В сообщении от Wednesday 19 March 2008 01:04:09 gladko@inbox.ru написал(а):
> >> Всем привет.
> >> Дистриб AltLinux Server 4.0.1, всё ставилось с дистриба.
> >> Столкнулся с проблемой не пускания пользователей через роутер.
> >> То есть с самого роутера можно и в инет выйти и в локалке компы
> >> попинговать, но вот пользователи из локалки не могут выйти в инет.
> >>
> >> На самом серваке NAT поднят, 1 в ip_routing то же есть.
> >>
> >> Из-за чего может не пускать пользователей?
> >
> > cat /proc/sys/net/ipv4/ip_forward
>
> стоит 1
>
> > iptables -n -L FORWARD -v
>
> ПУСТО но имеет политику по умолчанию - ACCEPT
>
> > iptables -t nat -n -L -v
>
> iptables -t nat -A POSTROUTING -s 192.168.0.1/24 -o eth0 -j SNAT
> --to-source REAL_IP
>

Ну вот же проблема ваш сервер с NAT выпускает ваше же подсеть не через 
ppp-интерфейс, а через карточку eth0. подправьте правила и всё получиться.

>
>
>
>
> _______________________________________________
> community mailing list
> community@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/community



-- 
С уважением, Вячеслав.

  parent reply	other threads:[~2008-03-20  4:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-19  2:45 ` [Comm] настройка VPN Olvin
2008-03-18 18:44   ` [Comm] routing и NAT gladko
2008-03-18 17:51     ` Motsyo Gennadi aka Drool
2008-03-18 18:49     ` Владимир
2008-03-19 10:33       ` Serge
2008-03-20  8:05           ` Serge
2008-03-18 19:04     ` gladko
2008-03-18 19:09       ` Владимир
2008-03-20  4:44       ` Vyacheslav A. Brunev [this message]
2008-03-21 20:15       ` Olvin
2008-03-21 20:40         ` Alexey I. Froloff
2008-03-18 19:20     ` Vladimir V. Kamarzin

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=200803201044.41611.bv@gres.tomske.elektra.ru \
    --to=bv@gres.tomske.elektra.ru \
    --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