Score:0

Udp punchhole between two instances behind two different cloud NAT on GCP

ru flag

Hi I'm trying to achieve UDP punchhole concept between two compute instances (on different networks with no public IP) behind two different cloud NATs for their respective networks. It seems that in logging I can see the connection being established but cannot see the message/packet being transferred on the terminal. I dont quite understand what is going on here, can someone help me please? Thanks in advance!

echo "hello" | nc -p 5010 -u <cloudNAT IP 2 > 5009 - vm 2

echo "hello" | nc -p 5009 -u <cloudNAT IP 1> 5010 - vm 1

In both vms i have a screen where i'm listening on port 5009

PSB the screenshot of the logging.

VM2 connection logs

VM1 connection logs

djdomi avatar
za flag
Can't you just enter the text of the errors instead using pictures?
Vinayak S avatar
ru flag
There were no such significant errors, I wasn't able to transfer data from one VM to another as excepted, But in the above 2 screenshots, I was able to see the connection is established. I wasn't using any Wireshark or any other tool so couldn't verify them.
djdomi avatar
za flag
and why not?Questions seeking installation, configuration or diagnostic help must include the desired end state, the specific problem or error, sufficient information about the configuration and environment to reproduce it, and attempted solutions. Questions without a clear problem statement are not useful to other readers and are unlikely to get good answers.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.