wiretap icon indicating copy to clipboard operation
wiretap copied to clipboard

WTF? Routes have a default but is required

Open trueblablak opened this issue 3 months ago • 0 comments

Error: required flag(s) "routes" not set
Usage:
  wiretap configure [flags]

Flags:
  -r, --routes strings             CIDR IP ranges that will be routed through wiretap (default [0.0.0.0/32])
  -e, --endpoint string            socket address of wireguard listener that server will connect to (example "1.2.3.4:51820")
      --outbound                   client will initiate handshake to server, set endpoint to server address
  -p, --port int                   port of local wireguard relay listener (default 51820)
      --relay-output string        wireguard relay config output filename (default "wiretap_relay.conf")
      --e2ee-output string         wireguard E2EE config output filename (default "wiretap.conf")
  -s, --server-output string       wiretap server config output filename (default "wiretap_server.conf")
  -c, --clipboard                  copy configuration args to clipboard
      --simple                     disable multihop and multiclient features for a simpler setup
  -0, --api string                 address of server API service (default "::2/128")
      --ipv4-relay string          ipv4 relay address (default "172.16.0.1/32")
      --ipv6-relay string          ipv6 relay address (default "fd:16::1/128")
      --ipv4-e2ee string           ipv4 e2ee address (default "172.19.0.1/32")
      --ipv6-e2ee string           ipv6 e2ee address (default "fd:19::1/128")
      --ipv4-relay-server string   ipv4 relay address of server (default "172.17.0.2/32")
      --ipv6-relay-server string   ipv6 relay address of server (default "fd:17::2/128")
  -k, --keepalive int              tunnel keepalive in seconds, only applies to outbound handshakes (default 25)
  -m, --mtu int                    tunnel MTU (default 1420)
      --disable-ipv6               disables IPv6
  -h, --help                       help for configure

Global Flags:
      --show-hidden   show hidden flag options

required flag(s) "routes" not set

Flag --routes have a default [0.0.0.0/32] but it is required, how to use default then?

trueblablak avatar Mar 20 '24 19:03 trueblablak