ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Anton Gorlov <stalker@altlinux.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: [Sysadmins] iptables. маскарадинг и прочее
Date: Thu, 12 Jan 2006 17:10:20 +0300
Message-ID: <43C6634C.30808@altlinux.ru> (raw)

В общем есть от юзеров жалобы что часто отваливается аська. Причём с 
различными клиентами (имеется в виду клиенты icq). Поиски привели к:

Jan 11 10:37:14 rcc kernel: MASQUERADE: Route sent us somewhere else.
Jan 11 10:42:15 rcc kernel: MASQUERADE: Route sent us somewhere else.
Jan 11 10:42:15 rcc kernel: MASQUERADE: Route sent us somewhere else.

Поиски по интернету привели к совету - вместо маскарадинга сделать snat. 
Но в моём случае это очень неудобно -бо много интерфейсов.. сейчас в 
маскарадинге правила такие:

iptables -t nat -A POSTROUTING -s 192.168.0.0/16 -j MASQUERADE
iptables -t nat -A POSTROUTING -s 172.19.0.0/24 -j MASQUERADE
iptables -t nat -A POSTROUTING -o vlan97 -s 172.19.50.11 -j MASQUERADE

Интерфейсов 8.  Что народ посоветует?

-- 
   np: silence


             reply	other threads:[~2006-01-12 14:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-12 14:10 Anton Gorlov [this message]
2006-01-13  7:19 ` Maxim Bodyansky

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=43C6634C.30808@altlinux.ru \
    --to=stalker@altlinux.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