natpmpc(1)

πŸ’– natpmpc β€” bestie edition πŸ’–

okay so welcome to natpmpc(1), a page from the General Commands Manual section of your friendly neighbourhood man pages ✨ she's the NAT-PMP library test client and a mapping setter, which is a lot of job titles for one tiny binary but she handles it πŸ’…


🌸 NAME 🌸

natpmpc β€” NAT-PMP library test client and mapping setter. that's the whole glow-up, no notes 🫢


✨ SYNOPSIS ✨

Wanna just see your public IP address? iconic, low effort, very demure:

natpmpc

Wanna add a port mapping? okay main character, here's the spell:

natpmpc -a <public port> <private port> <protocol> [lifetime]
ngl <public port>, <private port> and <protocol> are the mandatory trio, and [lifetime] is the optional little garnish on top πŸŽ€

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea β˜• β€” to remove a mapping, set it with a lifetime of 0 seconds. that's it, that's the delete button, zero is the ✨undo✨ of lifetimes πŸ’€

and if you want to nuke all the mappings for your machine at once? use 0 as private port and lifetime. both of them. together. it's giving "clean slate, new era, fresh start" 🌈 no cap, that's literally how you clear the whole board 🧹


πŸ’œ sign-off πŸ’œ

that's the whole page bestie, you ate it, you understood it, you're officially built different πŸ”₯ go forth and map responsibly ✨

this has been natpmpc(1) β€” sending you love from the general commands section, mwah πŸ’‹πŸŒΈ