:: Re: [DNG] Which qemu version is shi…
Forside
Slet denne besked
Besvar denne besked
Skribent: Mario Marietto
Dato:  
Til: wirelessduck
CC: dng
Emne: Re: [DNG] Which qemu version is shipped by default with devuan 3 ?
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

Maybe like this ?

nft add rule nat postrouting oif eth0 masquerade


On Wed, Aug 16, 2023 at 12:12 PM Mario Marietto <marietto2008@???>
wrote:

> It's too much out of my knowledge. I'm not able to understand what's the
> correct syntax to use.
>
> On Wed, Aug 16, 2023 at 11:46 AM wirelessduck--- via Dng <
> dng@???> wrote:
>
>>
>>
>> On 16 Aug 2023, at 18:28, Mario Marietto <marietto2008@???> wrote:
>>
>> 
>> Hello.
>>
>> eventually how should this line be formatted,if I want to convert
>> iptables to nftables ?
>>
>> iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
>>
>> thanks.
>>
>>
>> Is this helpful?
>>
>>
>> https://wiki.nftables.org/wiki-nftables/index.php/Performing_Network_Address_Translation_(NAT)
>>
>> Otherwise you can see the previous wiki link I posted and use the
>> iptables-translate command to convert from iptables to nftables syntax.
>>
>>
>> https://wiki.nftables.org/wiki-nftables/index.php/Moving_from_iptables_to_nftables
>>
>> Tom
>> _______________________________________________
>> Dng mailing list
>> Dng@???
>> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>>
>
>
> --
> Mario.
>



--
Mario.