ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Половников Денис" <fox@transbank.ru>
To: "Alexey I. Froloff" <community@altlinux.ru>
Subject: Re[2]: [Comm] IPtables
Date: Thu, 27 Feb 2003 11:10:44 +0300
Message-ID: <62156397843.20030227111044@transbank.ru> (raw)
In-Reply-To: <20030227065540.GL10970@hell.immo>

Здравствуйте, Alexey.

Вы писали 27 февраля 2003 г., 9:55:40:

AIF> On Thu, Feb 27, 2003 at 09:12:29AM +0300, Половников Денис wrote:
>> AIF> Дурацкий вопрос -- -t nat есть?
>> Вот кусок из конфига асли я ставлю впереди -t nat то тогда ip tables
>> ругается что это неверный аргумент...
>> *nat
>> :PREROUTING ACCEPT [23:2866]                                                
>> :POSTROUTING ACCEPT [0:0]                                                   
>> :OUTPUT ACCEPT [0:0]                                                        
AIF> Ой, какой кошмар! Не думаю, что редактировать руками
AIF> /etc/sysconfig/iptables - хорошая идея. Лучше написать маленький
AIF> shell-скрипт где будет вызываться iptables в нужном порядке и с
AIF> нужными параметрами, а потом делать service iptables save...

Дал команду iptables -t nat -A PREROUTING -p udp -d 217.69.198.58 --dport 5122 -j DNAT --to-destination 10.0.1.124
потом сделал service iptables save строчка добавилась в
/etc/sysconfig/iptables но всеровно немогу приконектится :-( В игрушке
даю ip сервака 217.69.198.58:5122 и тишина ... А должно переводится на
внутренюю машину с ip 10.0.1.124:5122... Обясните как проверить куда
идет запрос при попытке конекта на внешний ip???  пробовал смотреть
tcpdump но у меня толпа народу ползает через этот ком и нефига
неувидиш слишком все быстро пролетает.

С уважением,
 Половников Денис



  reply	other threads:[~2003-02-27  8:10 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-26 12:31 Половников Денис
2003-02-26 12:46 ` Alexey I. Froloff
2003-02-27  6:12   ` Re[2]: " Половников Денис
2003-02-27  6:55     ` Alexey I. Froloff
2003-02-27  8:10       ` Половников Денис [this message]
2003-02-27  8:24         ` Re[2]: " Maxim.Savrilov
2003-02-27  9:02           ` Vitaly Ostanin
2003-02-27  9:04           ` Dmitry Lebkov
2003-02-27 10:50             ` Re[2]: [Comm] [JT] IPtables Maxim.Savrilov
2003-02-27  8:35     ` Re[2]: [Comm] IPtables Dmitry Lebkov
2003-02-27  9:36       ` Re[4]: " Половников Денис
2003-02-27 10:05         ` Dmitry Lebkov
2003-02-27 11:34           ` Re[6]: " Половников Денис
2003-02-27 12:17             ` Dmitry Lebkov
2003-02-28  6:17               ` Re[8]: " Половников Денис
2003-02-28 12:53                 ` Dmitry Lebkov
2003-02-28 13:31                   ` Владимир
2003-02-27 10:25         ` Alexey I. Froloff

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=62156397843.20030227111044@transbank.ru \
    --to=fox@transbank.ru \
    --cc=community@altlinux.ru \
    /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