[Qubes OS 4.2] Easily NAT qubes port to external network

Yes, thank you.

Strangely, I have nft, I must have already upgraded something, but I definitely have not 4.2 already.

Found this this in another thread, it’s exactly my situation.

So, I replaced the tables and chains in Solene’s script as showed below, and that works. I do not understand the setup in detail and hope I haven’t compromised security by doing so. It’s for development in WLAN anyway, but that doesn’t mean much.

Edit: removed the script since it’s been nonsense according to comments below