IPSEC-REPLACE(8)

πŸ’– IPSEC-REPLACE β€” the manual page, but make it a group chat πŸ’–

okay so bestie, welcome to ipsec-replace from the ipsec gang (that's section 8 of the manual, executable programs, iykyk) ✨ this is the glow-up-your-connection command and I'm gonna walk you through it like we're texting at 2am πŸŽ€


✨ NAME ✨

ipsec-replace β€” swap out a connection definition and put one from /etc/ipsec.conf in its place πŸ’… literally that's the whole vibe.


🌸 SYNOPSIS 🌸

ipsec replace connection [--config /etc/ipsec.conf]
              [--ctlsocket /run/pluto/pluto.ctl]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea β˜• ipsec replace takes a connection definition that's chillin' in pluto's internal database and replaces it with one from /etc/ipsec.conf. no cap.

it's very similar to ipsec add, but with main character energy: it first deletes the old connection specification and the old tunnels that are using the same connection name πŸ—‘οΈβœ¨ so it's not just adding, it's a full glow-up, out with the old, in with the new.

lowkey important tho: this only replaces the connection description, which is what makes it possible for the remote to connect. if you actually want to initialize the connection, you gotta use ipsec up. replace is not gonna do that for you bestie 😭 that's a different command's job.

🌈 SEE ALSO 🌈

the whole squad, fr fr 🫢 go read these too:


πŸ’€ BUGS πŸ’€

none πŸŽ‰ not a single one, she's flawless, she ate and left no crumbs πŸ‘‘


πŸ‘‘ AUTHOR πŸ‘‘

the icons who made this happen: Andrew Cagney, Daniel Kahn Gillmor, Tuomo Soini 🫢 stan them.


and that's the whole page bestie!! Libreswan 5.4.1 🌈 and it's dated 10/23/2026, so you know it's fresh ✨ mwah, go replace some connections, love u πŸ’–πŸ¦‹πŸŽ€

πŸ“¦ where this page comes from