ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Вадим Илларионов" <gbimobou@gmail.com>
To: ALT Linux sysadmins' discussion <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] рутер на nftables
Date: Wed, 30 Nov 2016 23:52:00 +0800
Message-ID: <09fd0d44-1e6d-6e4a-8bee-7cf0b81757ce@gmail.com> (raw)
In-Reply-To: <0663db38-58b3-a453-245e-bf0c8f3a566f@gmail.com>

30.11.2016 23:22, Вадим Илларионов пишет:
> Пытаясь перепилить шлюз с иптаблиц на сабж, упёрся в пару неясностей в таблице mangle:
>
> 1. Цепочка forward
> TCPMSS tcp -- 0.0.0.0/0 0.0.0.0/0 tcp flags:0x06/0x02 TCPMSS clamp to PMTU
>
> 2. Цепочка postrouting
> TTL    all -- 0.0.0.0/0 0.0.0.0/0 TTL match TTL == 1 TTL set to 64
# nft add rule mangle postrouting ip ttl == 1 counter ip ttl 64

Не оно ли? По крайней мере, добавилось без ругани и пакетики считаются.
Осталось оттестировать результат.
А вот по первому вопросу пока голяк.

-- 
Мимо крокодил.
WBR, rednex CIO.
JID = <mailto:>
Skype = $local_part@<mailto:>
Viber = +7(964)103-65-67

Опции rsync -aHAX --delete мозг автоматом переводит как "удалить к чёртовой матери!"



  reply	other threads:[~2016-11-30 15:52 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-30 15:22 Вадим Илларионов
2016-11-30 15:52 ` Вадим Илларионов [this message]
2016-12-01 13:37 ` Вадим Илларионов
2016-12-02  4:41   ` Alexei Takaseev
2016-12-05  5:17     ` Eugene Prokopiev
2016-12-05  5:29       ` Alexei Takaseev
2016-12-05  6:07         ` Eugene Prokopiev
2016-12-05  6:32           ` В.А. Илларионов
2016-12-05  6:44             ` Eugene Prokopiev
2016-12-05  7:02               ` В.А. Илларионов
2016-12-05  7:34                 ` Eugene Prokopiev
2016-12-05  8:36                   ` В.А. Илларионов
2016-12-05 13:07                   ` Вадим Илларионов
2016-12-02  0:18 ` Вадим Илларионов
2016-12-02  4:52 ` Alexei Takaseev
2016-12-02  5:23   ` В.А. Илларионов
2016-12-02  6:16     ` Alexei Takaseev
2016-12-02  6:58       ` В.А. Илларионов
2016-12-02  8:12         ` Alexei Takaseev
2016-12-03  2:43           ` Вадим Илларионов

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=09fd0d44-1e6d-6e4a-8bee-7cf0b81757ce@gmail.com \
    --to=gbimobou@gmail.com \
    --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