mirror of
https://github.com/qdm12/gluetun.git
synced 2026-06-25 21:37:31 +02:00
Fix test to use a random port and not 443
This commit is contained in:
@@ -24,8 +24,7 @@ func (c *Client) OpenHTTPS(ctx context.Context, destinationTLSName string, desti
|
||||
return nil, nil, fmt.Errorf("binding source port: %w", err)
|
||||
}
|
||||
|
||||
const httpsPort = 443
|
||||
destinationAddrPort := netip.AddrPortFrom(destinationIP, httpsPort)
|
||||
destinationAddrPort := netip.AddrPortFrom(destinationIP, c.httpsPort)
|
||||
|
||||
const remove = false
|
||||
err = c.firewall.AcceptOutputFromIPPortToIPPort(ctx, "tcp", c.outboundInterface,
|
||||
|
||||
Reference in New Issue
Block a user