ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "\"Дворников М.В.\"" <m_dvor@soc.adm.yar.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] iptables трансляция протокола
Date: Mon, 03 Jul 2006 14:47:08 +0400
Message-ID: <44A8F5AC.3040600@soc.adm.yar.ru> (raw)
In-Reply-To: <200607031222.29285.ashen@nsrz.ru>

Шенцев Алексей Владимирович пишет:
> В сообщении от 3 июля 2006 12:14 Дворников М.В. написал(a):
>> По словам администратора казначейства мы первыми должны устанавливливать
>> связь. Клиент (континент) создает vpn, в настройках сетевого соединения
>> Win помимо tcp/ip есть еще один протокол от этой программы.
> У меня примерно так же для программ типа "Банк-клиент". Сделал следующее:
> $IPTABLES -t nat  -A POSTROUTING -s $BANK_USER_IP1 -d $BANK_IP -o 
> $INET_IFACE -j SNAT --to-source $INET_IP
> 
> $IPTABLES -A FORWARD -s $BANK_USER_IP1 -d $BANK_IP -j ACCEPT
> $IPTABLES -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
> 
> где $BANK_USER_IP1 - ip-адрес пользователя из диапазона ip-адресов нашей ЛВС 
> (сеть класса C - 192.168.*.*), $BANK_IP - инет ip-адрес сервера банка, 
> $INET_IFACE - интерфейс, смотрящий в инет,  $INET_IP - наш интернетовский 
> ip-адрес.

Первая команда разрешает трансляцию для всех портов и протоколов?
Наверно это не очень хорошо.
-- 
С уважением, Дворников Михаил.


  reply	other threads:[~2006-07-03 10:47 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-03  7:57 "Дворников М.В."
2006-07-03  8:00 ` Serge
2006-07-03  8:03 ` Шенцев Алексей Владимирович
2006-07-03  8:14   ` "Дворников М.В."
2006-07-03  8:16     ` Andrii Dobrovol`s`kii
2006-07-03  8:23       ` "Дворников М.В."
2006-07-03  9:01         ` Andrii Dobrovol`s`kii
2006-07-03  9:09         ` Dmytro O. Redchuk
2006-07-03  8:22     ` Шенцев Алексей Владимирович
2006-07-03 10:47       ` "Дворников М.В." [this message]
2006-07-03 10:51         ` Шенцев Алексей Владимирович
2006-07-03 11:23         ` Dmitriy L. Kruglikov
2006-07-03 11:56           ` "Дворников М.В."
2006-07-03 12:08             ` Шенцев Алексей Владимирович
2006-07-06  7:05               ` "Дворников М.В."
2006-07-06  8:00                 ` Шенцев Алексей Владимирович
2006-07-06  8:09                 ` Dmitriy L. Kruglikov
2006-07-03 12:16             ` Dmitriy L. Kruglikov
2006-07-03 21:48               ` Lego
2006-07-03  8:28     ` Dmitriy L. Kruglikov
2006-07-06  6:43 ` Maxim Britov
2006-07-06  7:00   ` "Дворников М.В."
2006-07-06  7:07     ` Шенцев Алексей Владимирович
2006-07-06  7:40       ` "Дворников М.В."
2006-07-06  7:44         ` Шенцев Алексей Владимирович

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=44A8F5AC.3040600@soc.adm.yar.ru \
    --to=m_dvor@soc.adm.yar.ru \
    --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