Rename IPSec peers in VyOS


Here’s something esoteric that I haven’t had to do before. First confirm your configuration:

# run show config

Scroll down and note the original peer you want to change:

peer {


# rename peer <OLDPEER> to peer <NEWPEER>
# commit
# save

I’m not a network engineer, so please don’t ask for more details. I’m just glad you can rename; I’d assumed I’d have to make a new peer then delete the old one.

OrionVM includes VyOS as a software defined network template, and aside from my subtle dig above, it’s a capable and rock solid router from our experience.

Author bio and support


Ruben Schade is a technical writer and IaaS engineer in Sydney, Australia who refers to himself in the third person in bios. Wait, not BIOS… my brain should be EFI by now.

The site is powered by Hugo, FreeBSD, and OpenZFS on OrionVM, everyone’s favourite cloud infrastructure provider.

If you found this post helpful or entertaining, you can shout me a coffee or buy some silly merch. Thanks!