ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Re: [Comm-en] setting up iptables
  @ 2003-04-08 13:27 ` Michael Shigorin
  2003-04-08 13:32   ` Leonid B. Sysoletin
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Shigorin @ 2003-04-08 13:27 UTC (permalink / raw)
  To: Community-en; +Cc: community

On Tue, Apr 08, 2003 at 06:52:26AM -0600, djbouley wrote:
> >    OTOH /usr/lib/iptables/libipt_tcprules.so is not present on my
> I cannot find it on my system either.

Argh, it's my fault -- underreconstructed local configuration.

> Here's the contents of /etc/sysconfig/iptables:

Should be like this: (add one line)

> *filter
:tcprules - [0:0]
> -A INPUT -j tcprules
> -A FORWARD -j tcprules
> -A tcprules -i eth1 -m state --state RELATED,ESTABLISHED -j ACCEPT
> -A tcprules -i ! eth1 -m state --state NEW -j ACCEPT
> -A tcprules -i eth1 -m state --state INVALID,NEW -j DROP
> -A tcprules -i eth1 -j REJECT --reject-with icmp-host-unreachable
> COMMIT
> *nat
> -A POSTROUTING -s 192.168.0.0/24 -o eth1 -j MASQUERADE
> COMMIT

The story: we've asked iptables to use a specific chain (which
gets reused), but haven't created ("declared") it and no specific
module was found to be used for it.

Somewhat more elaborate config is attached, you can have some
more interesting examples in its comments.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Comm] Re: [Comm-en] setting up iptables
  2003-04-08 13:27 ` [Comm] Re: [Comm-en] setting up iptables Michael Shigorin
@ 2003-04-08 13:32   ` Leonid B. Sysoletin
  0 siblings, 0 replies; 2+ messages in thread
From: Leonid B. Sysoletin @ 2003-04-08 13:32 UTC (permalink / raw)
  To: community

8 Апрель 2003 17:27, Michael Shigorin написал:
> > >    OTOH /usr/lib/iptables/libipt_tcprules.so is not present on my
> > I cannot find it on my system either.

Wrong maillist ;-)))

-- 
Л. Сысолетин,
webmaster@unicon-ms.ru
[Team Ёжики-рулез!] [Team Котёнки на солярке] [Team Берегите букву "ё"!]
[Team Я люблю свою фортунку] [Team Фортунка в переписку не вступает]

Turn the other cheek.
		-- Jesus Christ



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-04-08 13:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-08 13:27 ` [Comm] Re: [Comm-en] setting up iptables Michael Shigorin
2003-04-08 13:32   ` Leonid B. Sysoletin

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