Skip to content

Commit 89b4a4b

Browse files
Add new cli args
1 parent 824ca1f commit 89b4a4b

4 files changed

Lines changed: 7 additions & 0 deletions

File tree

docs/pangolin.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Pangolin CLI
1212

1313
* [pangolin apply](pangolin_apply.md) - Apply commands
1414
* [pangolin auth](pangolin_auth.md) - Authentication commands
15+
* [pangolin auth-daemon](pangolin_auth-daemon.md) - Start the auth daemon
1516
* [pangolin config](pangolin_config.md) - View and edit CLI configuration
1617
* [pangolin down](pangolin_down.md) - Stop a connection
1718
* [pangolin list](pangolin_list.md) - List resources and other items from the server

docs/pangolin_config_set.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ Supported keys:
1313
up.tunnel_dns
1414
up.upstream_dns
1515
up.override_dns
16+
up.match_domains_dns
17+
up.prefer_local_routes
1618

1719
Examples:
1820
pangolin config set up.tunnel_dns true

docs/pangolin_up.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,14 @@ pangolin up [flags]
2424
--id string Client ID (optional, will use user info if not provided)
2525
--interface-name name Interface name (default "pangolin")
2626
--log-level string Log level (default "info")
27+
--match-domains strings FQDN wildcard patterns (e.g. '*.proxy.internal') to check against local records/upstream DNS; queries for non-matching domains go directly to the system's DNS servers (default: match all domains, or the value from config if set)
2728
--mtu int Maximum transmission unit (default 1280)
2829
--netstack-dns server DNS server to use for Netstack. This handles DNS resolution outside of the upstream servers.
2930
--org string Organization ID (default: selected organization if logged in)
3031
--override-dns When enabled, the client uses custom DNS servers to resolve internal resources and aliases. This overrides your system's default DNS settings. Queries that cannot be resolved as a Pangolin resource will be forwarded to your configured Upstream DNS Server. (default true)
3132
--ping-interval interval Ping interval (default 5s)
3233
--ping-timeout timeout Ping timeout (default 5s)
34+
--prefer-local-routes Add tunnel routes with a high metric so overlapping local/connected routes take precedence (default false)
3335
--secret string Client secret (optional, will use user info if not provided)
3436
--silent Disable TUI and run silently when detached
3537
--tls-client-cert path TLS client certificate path

docs/pangolin_up_client.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@ pangolin up client [flags]
2121
--id string Client ID (optional, will use user info if not provided)
2222
--interface-name name Interface name (default "pangolin")
2323
--log-level string Log level (default "info")
24+
--match-domains strings FQDN wildcard patterns (e.g. '*.proxy.internal') to check against local records/upstream DNS; queries for non-matching domains go directly to the system's DNS servers (default: match all domains, or the value from config if set)
2425
--mtu int Maximum transmission unit (default 1280)
2526
--netstack-dns server DNS server to use for Netstack. This handles DNS resolution outside of the upstream servers.
2627
--org string Organization ID (default: selected organization if logged in)
2728
--override-dns When enabled, the client uses custom DNS servers to resolve internal resources and aliases. This overrides your system's default DNS settings. Queries that cannot be resolved as a Pangolin resource will be forwarded to your configured Upstream DNS Server. (default true)
2829
--ping-interval interval Ping interval (default 5s)
2930
--ping-timeout timeout Ping timeout (default 5s)
31+
--prefer-local-routes Add tunnel routes with a high metric so overlapping local/connected routes take precedence (default false)
3032
--secret string Client secret (optional, will use user info if not provided)
3133
--silent Disable TUI and run silently when detached
3234
--tls-client-cert path TLS client certificate path

0 commit comments

Comments
 (0)