VPN Clients are Connected and Have TCP Connections but Cannot Ping (Cluster with Static Hub Problem)
Posted: Mon Mar 13, 2023 2:12 pm
Hi everyone,
I have set up (multiple times) a simple two VMs VPN cluster in GCP (and AlibabaCloud, in fact). One node is set up as controller, and the other as member. Each VMs are connected via 10.x.x.x private network, and has public IP address.
I have configured the member to connect to the controller via private address and not public. I have also configured the public IP address of the member. I have also created a static hub.
After setting up dummy users, I have my laptop and another VM to connect to the cluster. The public IP address of the cluster controller is specified as the destination server address as usual. Accessing the ClusterConnectionStatusGet command in the member yield this result:
The output of ClusterMemberList in controller:
Finally, getting in the hub and executing SessionList, we get:
It shows that all the clients have successfully created TCP connections. No NAT/DHCP is enabled, so both clients are given static IP. This is even detected in IpTable command:
But pinging each other results in Destination Host Unreachable. Doing `tcpdump` on the virtual VPN client interface results in nothing (no packet detected).
How do I debug this? How do I know that the cluster connection is working and TCP connections are healthy? Thank you in advance.
I have set up (multiple times) a simple two VMs VPN cluster in GCP (and AlibabaCloud, in fact). One node is set up as controller, and the other as member. Each VMs are connected via 10.x.x.x private network, and has public IP address.
I have configured the member to connect to the controller via private address and not public. I have also configured the public IP address of the member. I have also created a static hub.
After setting up dummy users, I have my laptop and another VM to connect to the cluster. The public IP address of the cluster controller is specified as the destination server address as usual. Accessing the ClusterConnectionStatusGet command in the member yield this result:
Code: Select all
ClusterConnectionStatusGet command - Get Connection Status to Cluster Controller
Item |Value
---------------------------------+-------------------------
Controller IP Address |10.x.x.x
Controller TCP/IP Port |992
Connection Status |Online
Connection Started at |2023-03-13 (Mon) 13:01:53
First Connection Established at |2023-03-13 (Mon) 13:01:53
Current Connection Established at|2023-03-13 (Mon) 13:01:53
Number of Connection Attempts |1
Number of Successful Connections |1
Number of Failed Connections |0
The command completed successfully.
Code: Select all
ClusterMemberList command - Get List of Cluster Members
ID|Type |Connection Started at |Host Name|Point|Number of Sessions|Number of TCP Connections|Number of Operating Hubs|Using Client Connection Licenses|Using Bridge Connection Licenses
----------+----------+-------------------------+---------+-----+------------------+-------------------------+------------------------+--------------------------------+--------------------------------
3764370032|Controller|2023-03-13 (Mon) 12:52:30|gaia |99999| 1| 21| 1| 1| 0
3173883201|Member |2023-03-13 (Mon) 13:01:53|ares |99999| 1| 21| 1| 1| 0
Code: Select all
SessionList command - Get List of Connected Sessions
Item |Value
----------------+---------------
Session Name |SID-USER1-24
VLAN ID |-
Location |On 'gaia'
User Name |user1
Source Host Name|redacted
TCP Connections |2 / 2
Transfer Bytes |43,134
Transfer Packets|1,027
----------------+---------------
Session Name |SID-USER2-1
VLAN ID |-
Location |On 'ares'
User Name |user2
Source Host Name|redacted
TCP Connections |2 / 2
Transfer Bytes |354,018
Transfer Packets|5,353
The command completed successfully.
Code: Select all
IpTable command - Get the IP Address Table Database
Item |Value
------------+-------------------------
ID |1241270314
Session Name|SID-USER1-24
IP Address |192.168.100.10
Created at |2023-03-13 13:31:45
Updated at |2023-03-13 13:49:33
Location |On 'gaia'
------------+-------------------------
ID |351225459
Session Name|SID-USER2-1
IP Address |192.168.100.11
Created at |2023-03-13 13:15:06
Updated at |2023-03-13 14:10:03
Location |On 'ares'
The command completed successfully.
How do I debug this? How do I know that the cluster connection is working and TCP connections are healthy? Thank you in advance.