LXC.NETWORK.FORWARD.CREATE(1)

πŸ“¦
version 5.21.6 Β· 3 versions
, in opensuse-leap 16.0

πŸ’… NAME πŸ’…

ok so bestie, this page is lxc-network-forward-create β€” and yeah, it's the one that creates new network forwards ✨ It lives in the LXD - Command line client(1) manual fam, so you already know it's part of the LXD command line client situation 🫢


✨ SYNOPSIS ✨

lxc network forward create [:] [] [key=value...] [flags]

that's the whole vibe. one line. she's compact, she's iconic πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

Description:

Create new network forwards πŸŽ€

that's literally it β€” you're making a new network forward, that's the whole job, no cap πŸ‘‘


🌸 OPTIONS 🌸

  • --allocate="" β€” auto-allocate an IPv4 or IPv6 listen address πŸ’– gotta pick one of 'ipv4', 'ipv6' β€” those are your only two choices bestie, no in-between
  • --target="" β€” the cluster member name 🧚 that's where you're pointing her

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

these are the ones she got from her parent commands, and honestly they ate πŸ‘‘

  • --debug[=false] β€” show ALL the debug messages 😭 like every single one, we're being nosy today
  • --force-local[=false] β€” force using the local unix socket πŸ’€ she's staying local, periodt
  • -h, --help[=false] β€” print help 🫢 the classic, the beloved
  • --project="" β€” override the source project ✨ you're switching up which project she's repping
  • -q, --quiet[=false] β€” don't show progress information πŸ™ˆ if you'd rather not know what's happening, this is your girl
  • --sub-commands[=false] β€” use with help or --help to view sub-commands πŸŽ€ so like, help or --help plus this = you get to peek at the sub-commands
  • -v, --verbose[=false] β€” show all information messages πŸ¦‹ the talkative mode, she's telling you everything
  • --version[=false] β€” print version number πŸ“ just the number, that's all, no extra vibes

⭐ EXAMPLE ⭐

ok these are the moments, bestie:

lxc network forward create n1 127.0.0.1

and then the cute one:

lxc network forward create n1 127.0.0.1 < config.yaml
    Create a new network forward for network n1 from config.yaml

that second one is literally create a new network forward for network n1 from config.yaml β€” she read the whole file and made it happen πŸ’œ


πŸŽ€ SEE ALSO πŸŽ€

  • lxc-network-forward(1) β€” go read this one too, iykyk 🌸

πŸ’€ HISTORY πŸ’€

  • 22-Aug-2026 β€” Auto generated by spf13/cobra πŸ€– not me being auto generated by spf13/cobra, she's a robot baby and we love her

k that's the whole page bestie, every single flag accounted for, not one dropped, you're SO ready πŸ”₯

ok and for the little sign-off moment β€” this whole thing was auto generated by spf13/cobra back in Aug 2026, and it belongs to the LXD - Command line client(1) manual πŸ’– mwah, go forward-create something iconic 🧚✨

πŸ“¦ where this page comes from