ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Maxim Tyurin <mrkooll@tdr.pibhe.com>
To: community@altlinux.ru
Subject: Re: [Comm] iptables help need
Date: Mon, 29 Dec 2003 09:31:40 +0200
Message-ID: <20031229073140.GB31116@mrkooll.tdr.pibhe.com> (raw)
In-Reply-To: <20031227232902.023401a9.gosha@zkb.ru>

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

On Sat, Dec 27, 2003 at 11:29:02PM +0500, Igor Solovyov wrote:
> Hi!
> On Thu, 25 Dec 2003 13:50:52 +0200
> Maxim Tyurin <mrkooll@tdr.pibhe.com> wrote:
> 
> > > Нужно сделать так, чтобы машинки пытающиеся сконнектится с аськой
> > > (и только в этом случае) маскарадились.
> > > Пытаюсь сделать так:
> > > 
> > > $IPT -t nat -A POSTROUTING -s 192.168.1.0/24 -d login.icq.com \
> > > -j SNAT --to-source $INET_ADDR
> > > 
> > > не идет нифига, не коннектится к аське. :-(
> > > 
> > > пробую так:
> > > 
> > > $IPT -t nat -A POSTROUTING -p tcp -s 192.168.1.0/24 
> > > --destination-port 5190 -j SNAT --to-source $INET_ADDR
> > > 
> > > та же фигня. :-(
> > > 
> > > И как ее гадину замаскарадить? Кто-нибудь подскажите.
> > 
> > Тебе нужно пропускать все ESTABLISHED,RELATED соединения.
> > На login.icq.com аська лезет только авторизироваться
> 
> У меня ESTABLISHED,RELATED пропускаются:
> 
> $IPT -A INPUT -p ALL -i eth2 -m state --state ESTABLISHED,RELATED -j ACCEPT
> 
> Видимо собака где-то в другом месте зарыта. :-((

Маскарад через filter INPUT не идет
-- 

With Best Regards, Maxim Tyurin
JID:	MrKooll@jabber.pibhe.com
			

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2003-12-29  7:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-25 10:52 Gosha
2003-12-25 11:50 ` Maxim Tyurin
2003-12-27 18:29   ` Igor Solovyov
2003-12-29  7:31     ` Maxim Tyurin [this message]
2003-12-30  8:43       ` Igor Solovyov
2003-12-30  8:47         ` Maxim Tyurin

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=20031229073140.GB31116@mrkooll.tdr.pibhe.com \
    --to=mrkooll@tdr.pibhe.com \
    --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