-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port opening supports below full-cone NAT #844
Comments
Why is it necessary to send different port to the tracker and bind an another on the local machine? If you want to use different port, then you can use that on local machine. |
Port mapping is up to NAT gateway. The gateway create a random port mapping that has different port number, sometimes we can't control it (Like carrier-grade NAT). |
And how do we know the randomly assigned port number? |
For some gateway, we can open a port by Port Control Protocol, but it's not all gateway be supported. |
The port checker can't get your external port as it not used in the connecting process (and you can have many of them), only your external ip. It could be possible to add nat-pmp function for port opening, but I think upnp is more supported. I just tried https://pypi.python.org/pypi/NAT-PMP/1.0.1 and it's not working with my router. |
I'm afraid that you did not understand what I meant. Not all NAT gateway allow standard user create a explicit port forward rule, but we can create a implicitly port forward rule using full-cone NAT gateway's feature.
|
I agree with @l5h5t7 |
I don't have access enviroment like this, so it would be hard to develop for it. |
It need's a lot of work. Maybe better spend this time developing IPv6 support? #148 |
Yes and no. Both things are required because I don't think that IPv6 support will be high enough everywhere to solve the issue. |
Due to the lack of IPv4 address, more and more ISP have been deployed carrier-grade NAT. So less connectability for these users.
Tor network can improve the connectability for these users, but it has many issues for the users who needn't anonymity:
IPv6 is the ultimate solution, but it still have a long way to go. (15% supportive in the whole world, and only 1% supportive in China)
Full-cone NAT is most used in carrier-grade NAT and easy to penetrate.
We need do these thing for support port opening supports below full-cone NAT
Separated port number is also useful in the environment:
The text was updated successfully, but these errors were encountered: