Skip to content

Commit c36b0d8

Browse files
authored
fix(devtunnel): use 1280 mtu (#2420)
This should be more compatible with cloud VMs and VPNs.
1 parent ba451b5 commit c36b0d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/devtunnel/tunnel.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func NewWithConfig(ctx context.Context, logger slog.Logger, cfg Config) (*Tunnel
5959
tun, tnet, err := netstack.CreateNetTUN(
6060
[]netip.Addr{netip.AddrFrom16(cfg.ID)},
6161
[]netip.Addr{netip.AddrFrom4([4]byte{1, 1, 1, 1})},
62-
1420,
62+
1280,
6363
)
6464
if err != nil {
6565
return nil, nil, xerrors.Errorf("create net TUN: %w", err)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy