Skip to content

Commit 11c4c9a

Browse files
committed
Use wildcard IP for UDP backend local address.
1 parent 1de3036 commit 11c4c9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SocketForwarder/UDPForwarder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ private final class UDPProxyFrontend: ChannelInboundHandler, Sendable {
145145
frontendChannel: context.channel,
146146
log: log
147147
)
148-
let proxyAddress = try SocketAddress(ipAddress: "127.0.0.1", port: 0)
148+
let proxyAddress = try SocketAddress(ipAddress: "0.0.0.0", port: 0)
149149
let proxyToServerFuture = DatagramBootstrap(group: self.eventLoopGroup)
150150
.channelInitializer {
151151
self.log?.trace("frontend - initializing backend")

0 commit comments

Comments
 (0)