You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I'm encountering an issue with FRP(Fast Reverse Proxy) for remote router connections. I can only establish a connection when the container's network mode is set to host. This is not a suitable configuration for me, as I need to utilize a custom network.
The logs indicate a successful connection between the client and server:
client login info: ip [router_ip]
16:03.156 [I] [proxy/tcp.go:82] [dbd0b998412b8f79] [ssh] tcp proxy listen port [10022]
16:03.157 [I] [server/control.go:399] [dbd0b998412b8f79] new proxy [ssh] type [tcp] success
Upon successful connection, I enter the command ssh -p 10022 [email protected] and gain access to the router.
But this is only functional when using network_mode: host. When I switch to a custom network or different modes, like network: pasta, SSH fails to connect.
Connection closed by 127.0.0.1 port 10022
# or
Connection reset by 127.0.0.1 port 10022
My initial thought was that the problem lay with the client's IP, that it was being swapped out for Podman's internal IP. But upon checking, this wasn't the case.
Is it possible to solve this task while preserving the client's IP and using a custom network, or not? Activation via socket for frp is not working.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. I'm encountering an issue with FRP(Fast Reverse Proxy) for remote router connections. I can only establish a connection when the container's network mode is set to host. This is not a suitable configuration for me, as I need to utilize a custom network.
FRP Server Config:
FRP Client Config:
The logs indicate a successful connection between the client and server:
Upon successful connection, I enter the command
ssh -p 10022 [email protected]
and gain access to the router.But this is only functional when using network_mode: host. When I switch to a custom network or different modes, like network: pasta, SSH fails to connect.
My initial thought was that the problem lay with the client's IP, that it was being swapped out for Podman's internal IP. But upon checking, this wasn't the case.
Is it possible to solve this task while preserving the client's IP and using a custom network, or not? Activation via socket for frp is not working.
Beta Was this translation helpful? Give feedback.
All reactions