From: Eugene Prokopiev <enp@itx.ru>
To: "ALT Linux sysadmins' discussion" <sysadmins@lists.altlinux.org>
Subject: [Sysadmins] nftables rules simple example
Date: Mon, 23 Jan 2017 07:53:20 +0300
Message-ID: <CANM4RuiuCVnsFhi=wR4vaFbu2SGncbHd3UMNa_Rgp9+-eEJ9pw@mail.gmail.com> (raw)
19 января 2017 г., 3:34 пользователь Вадим Илларионов
<gbimobou@gmail.com> написал:
> 2) если поменять в контейнере иптаблицы на nft, правила nft каким-то
> боком влияют на работу хост-машины, спорадически делая её недоступной.
> В альтовом же всё это работает без нареканий - с удовольствием использую
> на домашнем шлюзе.
А покажите, пожалуйста, пример правил вида: запретить все, разрешить
только ssh из некоторых сетей. Когда-то я смотрел в сторону nft, но
документация/примеры были слишком невнятными, может чего поменялось с
тех пор?
--
WBR,
Eugene Prokopiev
next reply other threads:[~2017-01-23 4:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-23 4:53 Eugene Prokopiev [this message]
2017-01-25 1:36 ` Вадим Илларионов
2017-01-25 4:37 ` Eugene Prokopiev
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='CANM4RuiuCVnsFhi=wR4vaFbu2SGncbHd3UMNa_Rgp9+-eEJ9pw@mail.gmail.com' \
--to=enp@itx.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