kernel modules: was Re: Masquerading with selectively open ports -- nftables

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

 



On 29 October 2015 at 05:51, Johannes Ernst <johannes.ernst@xxxxxxxxx> wrote:
>>>>> nft add rule nat postrouting masquerade
>>>> <cmdline>:1:1-35: Error: Could not process rule: No such file or directory
>>>> add rule nat postrouting masquerade
>>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>> 
>>>> 1. This is copied straight from the wiki [1]. What am I doing wrong?

I fixed it. Apparently kernel module nft_masq_ipv4 (and some dependencies) hadn’t been loaded. (I don’t know why.)

Q: What do I have to do about kernel module loading? Is that automatic, or do I need to do something manually? (e.g. with /etc/modules-load.d/) This [1] seems to imply I have to do it manually.

Thanks,




Johannes.

[1] https://home.regit.org/netfilter-en/nftables-quick-howto/



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