lxc network forward create

Create new network forwards

Synopsis

Description: Create new network forwards

lxc network forward create [<remote>:]<network> [<listen_address>] [key=value...] [flags]

Examples

  lxc network forward create n1 127.0.0.1

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

Options

      --allocate   Auto-allocate an IPv4 or IPv6 listen address. One of 'ipv4', 'ipv6'.
      --target     Cluster member name

Options inherited from parent commands

      --debug          Show all debug messages
      --force-local    Force using the local unix socket
  -h, --help           Print help
      --project        Override the source project
  -q, --quiet          Don't show progress information
      --sub-commands   Use with help or --help to view sub-commands
  -v, --verbose        Show all information messages
      --version        Print version number

SEE ALSO