Re: How to reset package's TTL in nftables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12 March 2018 at 08:29, Zheng konia <konianet@xxxxxxxxx> wrote:
> Hi,
>
>    When using iptables, we can use bellow
>
>      > iptables -A FORWARD -j TTL --ttl-set 128
>
>    This command will reset the package's ttl in NAT forwarding.
>
>    But how can we set the ttl when using nftables?
>

Try:

% sudo nft add rule inet filter input ip ttl set 123
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux