-
-
Notifications
You must be signed in to change notification settings - Fork 498
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
[Bug] unable to send packets on OpenWRT #254
Comments
That's weird, v2.5.0 doesn't change anything on the tun side. Can you share your detailed configuration? |
Alright, thank you. My config: That's all, perhaps the issue lies in some default parameters? |
How about your route tables? |
Here is: ip rule add fwmark 100 lookup 100 So, the office-ip is an ip-set |
I had the same problem on an ARMv7 OpenWRT device. |
Also release 2.5.0 does not work on OpenWRT 22.03 mipsel architecture. Installed 2.4.1 works. |
Wondering how should I debug this as I don’t have arm-based openwrt devices. ;-) |
From my test, the backend proxy server has received the request and returned the data. I will test on an x86 openwrt device to confirm whether it is related to the architecture. |
It works fine on an x86 openwrt device. |
does not work for me on ramips/mt7621 mipsle. |
This issue should be fixed by 46c04db, welcome to try! |
Yes, it is related to the wireguard tun module. I have tested on linux and macos, and it works well. But I have not yet tested on Windows. Theoretically, if it shows TCP connections, it should be fine.. But taking from your screenshot, it seems like you tested on a linux-based platform, then why would you compile an exe for it? |
Oh I mean it's an executable file, not .exe. :)
|
Oh yes, these log messages are expected during shutdown stage. |
After its initialization, it parsed some TCP connections, but these connections didn't finish. It wasn't until I forcibly terminated it.
|
I compiled the latest version of the package with yesterday's fixes for my linux mipsel platform: What do we have about the result: INFO[0003] [TCP] 172.16.250.1:41708 <-> 157.240.205.34:443 Accordingly, resources in the network are not available. |
can confirm, latest source code still has the issue (mt7621) |
OK, I'll check it again. |
Signed-off-by: xjasonlyu <[email protected]>
Can anyone confirm this fix: 44ad654? |
Checked. Everything seems to be working at first glance. I will continue to test. Thank you for your hard work. |
Okay, cool bro! I confirm that this issue has been resolved. |
Verify steps
Version
2.5.0
What OS are you seeing the problem on?
Other
Description
I have been using 2.4.1 before, and it worked well on my OpenWRT(21.02.3). So when I updated to 2.5.0, in the same environment, I didn't change anything, I just replaced the file, then the tun device only has TX data but no RX data.
So even though I have set the log at debug level, it has no more output.
2.4.1

2.5.0

I have briefly looked at the code, but it seems a bit complex to me. I would like to know where should I start if I want to investigate this issue myself.
Thank you, if someone could reply to me.
CLI or Config
No response
Logs
No response
How to Reproduce
No response
The text was updated successfully, but these errors were encountered: