dndx / phantun

Transforms UDP stream into (fake) TCP streams that can go through Layer 3 & Layer 4 (NAPT) firewalls/NATs.
Apache License 2.0
1.59k stars 131 forks source link

Client local_IPV6 and Peer_IPV6 Address wont be set #52

Closed Handsome1080P closed 2 years ago

Handsome1080P commented 2 years ago

I already set the static ipv6 addresses for Phantun_Client to aviod the conflictions.But seems the addresses not set in the tunnel nic,check the pics below. 2.png 1.png

dndx commented 2 years ago

If -r did not resolve to an IPv6 address, then IPv6 addresses will not be assigned to the Tun interface because it is not needed.

Handsome1080P commented 2 years ago

If -r did not resolve to an IPv6 address, then IPv6 addresses will not be assigned to the Tun interface because it is not needed.

Server no ipv6 yet,but client own a ipv6 address and I already set several local ipv6 addresses to others.So to avoid the conflictions,I set the local ipv6 addresses to Phantun tunnel nic.

Handsome1080P commented 2 years ago

So could let the client's ipv6 addresses work?I have OCD, lmao

dndx commented 2 years ago

You can specify a fake IPv6 address and then the IPv6 address will be assigned to the tunnel -r [::1]:12345, but until your server gets a IPv6 address this will not do anything for you.

dndx commented 2 years ago

Basically, if you are not connecting to your server via IPv6 then you can leave the arguments same as before, these new options does not apply to you.

Handsome1080P commented 2 years ago

ok,thx a lot