Skip to content

Commit

Permalink
Update example config
Browse files Browse the repository at this point in the history
  • Loading branch information
alebeck committed Dec 14, 2024
1 parent bb14fd4 commit c410613
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions cmd/boring/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,17 @@ import (
"github.com/alebeck/boring/internal/log"
)

const defaultConfig = `# boring config file
# An example (local) tunnel is defined below.
const defaultConfig = `# An example tunnel is defined below.
# For more examples, please visit the project's GitHub page.
# All lines starting with '#' are comments.
#[[tunnels]]
#name = "dev" # Name for the tunnel
#local = "localhost:9000" # Local address to listen on
#local = 9000 # Local address to listen on
#remote = "localhost:9000" # Remote address to forward to
#host = "dev-server" # Hostname of the server, tries to match against ssh config
#port = 22 # (Optional) Server port, defaults to 22
#user = "joe" # (Optional) Username, tries ssh config and defaults to $USER
#user = "neo" # (Optional) Username, tries ssh config and defaults to $USER
#identity = "~/.ssh/id_dev" # (Optional) Key file, tries ssh config and defaults to default keys
`
Expand Down

0 comments on commit c410613

Please sign in to comment.