Skip to content

Commit

Permalink
Pass teleport-reversetunnelv2 for auth connections (#28316)
Browse files Browse the repository at this point in the history
  • Loading branch information
espadolini committed Jun 26, 2023
1 parent e1b12fd commit c8629b9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/reversetunnel/transport.go
Expand Up @@ -100,7 +100,10 @@ func (t *TunnelAuthDialer) DialContext(ctx context.Context, _, _ string) (net.Co
if mode == types.ProxyListenerMode_Multiplex {
opts = append(opts, proxy.WithALPNDialer(client.ALPNDialerConfig{
TLSConfig: &tls.Config{
NextProtos: []string{string(alpncommon.ProtocolReverseTunnel)},
NextProtos: []string{
string(alpncommon.ProtocolReverseTunnelV2),
string(alpncommon.ProtocolReverseTunnel),
},
InsecureSkipVerify: t.InsecureSkipTLSVerify,
},
DialTimeout: t.ClientConfig.Timeout,
Expand Down

0 comments on commit c8629b9

Please sign in to comment.