mirror of
https://github.com/netbirdio/docs.git
synced 2026-04-16 07:26:35 +00:00
docs: Add new CLI flags to up command (#686)
This commit is contained in:
@@ -82,6 +82,10 @@ The command will check if the peer is logged in and connect to the management se
|
||||
|
||||
--allow-server-ssh Allow SSH server on peer. If enabled, the SSH server will be permitted
|
||||
--disable-auto-connect Disables auto-connect feature. If enabled, then the client won't connect automatically when the service starts.
|
||||
--disable-client-routes Disable client routes. If enabled, the client won't process client routes received from the management service.
|
||||
--disable-dns Disable DNS. If enabled, the client won't configure DNS settings.
|
||||
--disable-firewall Disable firewall configuration. If enabled, the client won't modify firewall rules.
|
||||
--disable-server-routes Disable server routes. If enabled, the client won't act as a router for server routes received from the management service.
|
||||
--disable-ssh-auth Disable SSH JWT authentication. If enabled, any peer with network access can connect without user authentication
|
||||
--dns-resolver-address string Sets a custom address for NetBird's local DNS resolver. If set, the agent won't attempt to discover the best ip and port to listen on. An empty string "" clears the previous configuration. E.g. --dns-resolver-address 127.0.0.1:5053 or --dns-resolver-address ""
|
||||
--ssh-jwt-cache-ttl int SSH JWT token cache TTL in seconds. Set to 0 to disable caching (default). E.g. --ssh-jwt-cache-ttl 3600 for 1-hour cache
|
||||
@@ -98,6 +102,7 @@ The command will check if the peer is logged in and connect to the management se
|
||||
--rosenpass-permissive [Experimental] Enable Rosenpass in permissive mode to allow this peer to accept WireGuard connections without requiring Rosenpass functionality from peers that do not have Rosenpass enabled.
|
||||
--wireguard-port uint16 Wireguard interface listening port (default 51820)
|
||||
--block-inbound Block inbound connections. If enabled, the client will not allow any inbound connections to the local machine nor routed networks. This overrides any policies received from the management service.
|
||||
--block-lan-access Block LAN access. If enabled, the client will not allow NetBird peers to access the local network.
|
||||
```
|
||||
#### Usage
|
||||
The minimal form of running the command is:
|
||||
|
||||
Reference in New Issue
Block a user