N2 connection: 38412/sctp (ingress and egress both)
I am able to access webui from outside GCP using public-ip:3000
However I am unable to access the sctp connection on 38412 port from outside GCP.
Strangely, I am able to access sctp connection on 38412 port from another GCP VM which is installed in another GCP account.
When I do sudo nmap -sY <public-ip> -p 38412 from GCP SSH terminal I am able to see that the sctp port as open.
However when I run the same command from my laptop, the port is shown as filtered.
Here are some basic troubleshooting guides that may help in resolving the issue:
Be sure to check any firewall rules on your laptop that might block the traffic(antivirus, etc). If you are using a corporate firewall make sure it doesn’t have any SCTP restrictions.
Do a basic connectivity testing from your laptop to VM. If you can’t ping your VM’s IP address, run a traceroute to see which network hop is causing the connection failure. This will help you identify the problem area.
Make sure that the sctp_test tool you are using is set up to connect to the correct IP address and port. Additionally, review the tool’s logs for any error messages.
Temporarily disable the firewall on your GCP VM to see if the issue is there. If SCTP works, then it’s definitely a firewall configuration problem. Ensure your GCP firewall rules explicitly allow SCTP traffic on port 38412. Many firewalls default to TCP/UDP and require specific rules for SCTP.
Stateful rules can maintain connection context and allow related traffic.You may also check Protocol forwarding, it utilizes a regional forwarding rule to direct packets of a specific protocol to a single virtual machine.
If the issue is not resolved, it is recommended to contact Google Cloud Support. When contacting them, provide comprehensive details and include screenshots. This will help them better understand and address your issue.
Thanks for your reply and its useful information. However we could resolve the issue by assigning a static public IP to our router. I am not sure how this resolved the issue but it works.
I am new to networking, for my learning, could you please share any thoughts on this.