:: Re: [maemo-leste] WIFI tethering
Página Principal
Delete this message
Reply to this message
Autor: Ivan J.
Data:  
Para: Pavel Machek
CC: maemo-leste
Assunto: Re: [maemo-leste] WIFI tethering
On Sun, Jul 26, 2020 at 09:04:53AM +0200, Pavel Machek wrote:
> Hi!
>
> Would it be possible to enable modules neccessary
> for IP masquerading (and thus WIFI tethering)?
>
> I'd like to share cellular connection with a notebook.
>
> My notes say it should be these options; for Leste probably
> =M is more suitable option.
>
> Masquerading support
>
> CONFIG_NF_CONNTRACK=y
> CONFIG_NF_CONNTRACK_SIP=y
> CONFIG_NF_CONNTRACK_FTP=y
> CONFIG_NF_CONNTRACK_IPV4=y
> CONFIG_NF_NAT_IPV4=y
> CONFIG_NF_NAT_MASQUERADE_IPV4=y
> CONFIG_NETFILTER_XT_NAT=y
> CONFIG_IP_NF_NAT=y
> CONFIG_NETFILTER_XTABLES=y
> CONFIG_NETFILTER_XT_NAT=y
> CONFIG_CONFIG_IP_NF_IPTABLES=y
> CONFIG_IP_NF_FILTER=y
> CONFIG_IP_NF_TARGET_REJECT=y
> CONFIG_IP_NF_TARGET_MASQUERADE=y
> CONFIG_IP_NF_IPTABLES=y
> CONFIG_NETFILTER_XTABLES=y
> CONFIG_NF_NAT=y
> CONFIG_NETFILTER=y


These already seem to be applied to the N900 defconfig. If something
should be changed there, do let me know and I'll fix it up.

https://github.com/maemo-leste/n9xx-linux/blob/maemo/beowulf/arch/arm/configs/n900_defconfig

I have added it to the droid4 and the pine64 kernels and an update
should be available. Let me know if all is in order :)

Best regards,
Ivan