ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Глазунов Алексей Александрович" <glazunov@oblgaz.vrn.ru>
To: "ALT Linux Community" <community@lists.altlinux.org>
Subject: Re: [Comm] iptables_settings
Date: Fri, 20 Oct 2006 17:18:12 +0400
Message-ID: <op.thp1wmyn88vapp@glazunov.vrnoblgaz.local> (raw)
In-Reply-To: <4538C414.8040206@cint.ru>

On Fri, 20 Oct 2006 16:41:56 +0400, Artur Yakupov <artur@cint.ru> wrote:

> Подправим так:
>
> -A PREROUTING -p tcp -s 195.98.64.73 -d 213.129.97.252 --dport 25 -j DNAT
> --to-destination 192.168.0.205:3025
> -A PREROUTING -p tcp -s 195.98.64.73 -d 213.129.97.252 --dport 110 -j  
> DNAT
> --to-destination 192.168.0.205:3110
> -A POSTROUTING -p tcp --dport 25 -s 192.168.0.205 -o eth0 -j SNAT  
> --to-source
> 213.129.97.252
> -A POSTROUTING -p tcp --dport 110 -s 192.168.0.205 -o eth0 -j SNAT  
> --to-source
> 213.129.97.252

Подправил. Теперь "Дипост" замирает в ожидании чего-то. Ошибок никаких не  
выдаёт.

> в /etc/sysctl.conf добавить
> net.ipv4.ip_forward = 1
>
> и чтобы не перегружаться
> echo 1 > /proc/sys/net/ipv4/ip_forward
>
> в настройках дипоста оставить адрес дипостного сервера 195.98.64.73
>
> Так все вроде должно работать при условии сохранения policy ACCEPT в  
> цепочке FORWARD.
>
Можно поподробней про ACCEPT и FORWARD? Что там надо указать?



-- 
С уважением,
Глазунов Алексей Александрович
Ведущий инженер-программист
Отдел программирования и связи
ОАО "ВОРОНЕЖОБЛГАЗ"
(4732) 51-22-56


  reply	other threads:[~2006-10-20 13:18 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-20 12:01 Глазунов Алексей Александрович
2006-10-20 12:08 ` Дмитрий Ананьев
2006-10-20 12:10   ` Дмитрий Ананьев
2006-10-20 12:21     ` Глазунов Алексей Александрович
2006-10-20 12:27       ` Дмитрий Ананьев
2006-10-20 12:29       ` Artur Yakupov
2006-10-20 12:31       ` Artur Yakupov
2006-10-20 12:41 ` Artur Yakupov
2006-10-20 13:18   ` Глазунов Алексей Александрович [this message]
2006-10-20 14:09     ` Artur Yakupov
2006-10-20 13:14 ` Шенцев Алексей Владимирович
2006-10-20 13:28   ` Глазунов Алексей Александрович
2006-10-20 13:36     ` Дмитрий Ананьев

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=op.thp1wmyn88vapp@glazunov.vrnoblgaz.local \
    --to=glazunov@oblgaz.vrn.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