• network question

    From Jeff Peng@21:1/5 to All on Wed Jun 19 04:20:01 2024
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marco Moock@21:1/5 to All on Wed Jun 19 06:50:01 2024
    Am Wed, 19 Jun 2024 10:14:32 +0800
    schrieb Jeff Peng <jeff@tls-mail.com>:

    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.

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

    Please specify exactly what are you doing here.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)