Skip to content
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

大佬是否写错了? #304

Open
zzlinwq opened this issue Sep 22, 2022 · 2 comments
Open

大佬是否写错了? #304

zzlinwq opened this issue Sep 22, 2022 · 2 comments

Comments

@zzlinwq
Copy link

zzlinwq commented Sep 22, 2022

English Only (except for bug reporting).
https://github.com/wangyu-/UDPspeeder/wiki/UDPspeeder-openvpn-config-guide
其中有ip route add 128.0.0.0/1 via x.x.x.x dev tun100是不是错了?应该ip route add 127.0.0.0/1 via x.x.x.x dev tun100才对?

@wangyu-
Copy link
Owner

wangyu- commented Nov 4, 2022

It's as expected.

128/1 is 10000000/1

127/1 is 01111111/1

#chang x.x.x.x to the P-to-P dest address
ip route add 0.0.0.0/1 via x.x.x.x dev tun100
ip route add 128.0.0.0/1 via x.x.x.x dev tun100

01111111/1 is not what we want.

@testcaoy7
Copy link

0.0.0.0/1 + 128.0.0.0/1 = 0.0.0.0/0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants