问题原文
原帖链接 · DMaxter · CC BY-SA 4.0
I have an Azure VM and it works fine with IPv4
Tried to directly associate IPv6 to it, but couldn't connect to the outside world, a simple ping ipv6.google.com hung (according to Microsoft, it is impossible, but with a load balancer is possible)
Then, with a load balancer (Standard), I have associated an IPv4 and IPv6 to it but the problem persists, maybe I don't know how to configure one properly. This is what I did:
- Created inbound rules (for HTTP(S), SSH and 8080)
- Created outbound rule with Fronted IP as my IPv6, pool as my IPv6 pool and default allocation of ports
Changed back to the setup where I have the VM with both IPv4 and IPv6 attached.
My VM needs to be able to connect to an IPv6 server, someone can give some help?
已采纳解答
原帖链接 · DMaxter · CC BY-SA 4.0
I attached both IPv4 and IPv6 to the VM without a load balancer and created the rules in the NSG to allow traffic to get in and out (I allow everything in and everything out), and test with another server.
Because I wasn't able to ping anything, I used netcat.
On the server I wanted to test, I executed nc -6 -l 8080 and on the VM nc -6 IP 8080 and sent a message. The server got the message, so I know I could connect to IPv6.
I just had to change VNet and Network Interface to support IPv6 and attach the IPs to the network interface.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
