ALT Linux users (in English only)
 help / color / mirror / Atom feed
From: djbouley <djbouley@shaw.ca>
To: Community-en@altlinux.org
Subject: [Comm-en] setting up iptables
Date: Tue, 08 Apr 2003 06:52:26 -0600
Message-ID: <200304080652.26945.djbouley@shaw.ca> (raw)

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


    "iptabes": was it copied over or typed in by hand? (so is it a
    typo somewhere in the package or not)

I typed it in by hand.  Of course it is entirely possible that there's an 
error in it that I'm just not seeing.

    OTOH /usr/lib/iptables/libipt_tcprules.so is not present on my
    system; need to look at iptables config file.

I cannot find it on my system either.

    > Try 'iptables-restore -h' or 'iptables-restore --help' for more 
    information 
    > [FAILED]
    > ===================================================

    Umm... could you run "rpm -V iptables" and quote the output?
    (should be something like this:
    ..?..... c /etc/sysconfig/iptables
    ..?..... c /etc/sysconfig/iptables_modules
    )

Running rpm -V iptables produced this:
SM5....T c /etc/sysconfig/iptables
..?..... c /etc/sysconfig/iptables_modules

    > I double checked the previous files I created and they're okay.

    Attaching /etc/sysconfig/iptables could help too.

    > Any suggestions?  I'm almost there... I can 'feel' it!  :o)

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


[-- Attachment #2: tcpout.txt --]
[-- Type: text/plain, Size: 369 bytes --]

*filter
-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

             reply	other threads:[~2003-04-08 12:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-08 12:52 djbouley [this message]
2003-04-08 13:27 ` Michael Shigorin

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=200304080652.26945.djbouley@shaw.ca \
    --to=djbouley@shaw.ca \
    --cc=Community-en@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 users (in English only)

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community-en/0 community-en/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-en community-en/ http://lore.altlinux.org/community-en \
		community-en@lists.altlinux.org community-en@lists.altlinux.ru community-en@lists.altlinux.com
	public-inbox-index community-en

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community-en


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git