From: Maxim.Savrilov@socenter.ru
To: community@altlinux.ru
Subject: Re: [Comm] Народ поделитесь кому незалко.
Date: Fri, 7 Feb 2003 15:30:26 +0600
Message-ID: <20030207153026.666ce138.Maxim.Savrilov@socenter.ru> (raw)
In-Reply-To: <1413102640.20030203131027@transbank.ru>
On Mon, 3 Feb 2003 13:10:27 +0300
Половников Денис <fox@transbank.ru> wrote:
> Здравствуйте, community.
>
> Народ поделитесь кому незалко простеньким скриптиком с правиломи
> iptables дл
> 2 сетивух. А то
> не очень вьехал как это пишетс
> хочу на
> примере посмотреть. А то мне срочно надо подн
> ть iptables на серваке.
> Помогите плиз...
>
IPTABLES="/sbin/iptables"
INTRANET="192.168.0.0/24"
EXTERNAL_INTERFACE="eth0"
LOCAL_INTERFACE_1="eth1"
LOOPBACK_INTERFACE="lo"
$IPTABLES -P INPUT DROP
$IPTABLES -P OUTPUT DROP
$IPTABLES -P FORWARD DROP
$IPTABLES -A INPUT -i $LOOPBACK_INTERFACE -j ACCEPT
$IPTABLES -A OUTPUT -o $LOOPBACK_INTERFACE -j ACCEPT
$IPTABLES -A INPUT -i $LOCAL_INTERFACE_1 -s $INTRANET -j ACCEPT
$IPTABLES -A OUTPUT -o $LOCAL_INTERFACE_1 -d $INTRANET -j ACCEPT
какой вопрос, такой и ...
prev parent reply other threads:[~2003-02-07 9:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-03 10:10 Половников Денис
2003-02-03 11:04 ` [Comm] " aek
2003-02-03 12:17 ` [Comm] " Половников Денис
2003-02-04 3:06 ` [Comm] " aek
2003-02-04 6:11 ` [Comm] " Половников Денис
2003-02-07 9:30 ` Maxim.Savrilov [this message]
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=20030207153026.666ce138.Maxim.Savrilov@socenter.ru \
--to=maxim.savrilov@socenter.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