Discussion:
network question
(too old to reply)
Jeff Peng
2024-06-19 02:20:01 UTC
Permalink
may I ask a network question?

when my server is a vps who has floating IP (that means, the server's iP
is an internal IP, the public ip is bond on provider's router/firewall
devices), then my ssh client connecting to the server will never
disconnect even if I changed my local gateway (for example switching
VPN).

if the vps is a normal IPv4 box then switching localnet will always
disconnect.

what's the reason?

thanks.
Marco Moock
2024-06-19 04:50:01 UTC
Permalink
Am Wed, 19 Jun 2024 10:14:32 +0800
Post by Jeff Peng
when my server is a vps who has floating IP (that means, the server's
iP is an internal IP, the public ip is bond on provider's
router/firewall devices), then my ssh client connecting to the server
will never disconnect even if I changed my local gateway (for example
switching VPN).
If you enable a VPN tunnel traffic may go through, but it is also
possible to bind it to a specific interface tat doesn't care about the
tunnel.
Use a network sniffer to investigate that.
Post by Jeff Peng
if the vps is a normal IPv4 box then switching localnet will always
disconnect.
Please specify exactly what are you doing here.

Loading...