You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/tsnet
Will Norris d4586ca75f tsnet/example/web-client: listen on localhost
Serving the web client on the tailscale interface, while useful for
remote management, is also inherently risky if ACLs are not configured
appropriately. Switch the example to listen only on localhost, which is
a much safer default. This is still a valuable example, since it still
demonstrates how to have a web client connected to a tsnet instance.

Updates #13775

Signed-off-by: Will Norris <will@tailscale.com>
10 months ago
..
example tsnet/example/web-client: listen on localhost 10 months ago
example_tshello_test.go tsnet: add examples (#8289) 11 months ago
example_tsnet_test.go tsnet: add examples (#8289) 11 months ago
tsnet.go all: use Go 1.21 slices, maps instead of x/exp/{slices,maps} 10 months ago
tsnet_test.go tsnet: mark TestLoopbackLocalAPI as flakey 11 months ago