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

[Bug] failed to tun-post-up #425

Open
2 tasks done
oorrnae opened this issue Nov 2, 2024 · 1 comment
Open
2 tasks done

[Bug] failed to tun-post-up #425

oorrnae opened this issue Nov 2, 2024 · 1 comment

Comments

@oorrnae
Copy link

oorrnae commented Nov 2, 2024

Verify steps

  • Is this something you can debug and fix? Send a pull request! Bug fixes and documentation fixes are welcome.
  • I have searched on the issue tracker for a related issue.

Version

2.5.2

What OS are you seeing the problem on?

Linux

Description

redfin:/data/local/tmp # ./tun2socks -device tun1 -proxy socks5://xxxxx -interface wlan0 -loglevel debug -tun-post-up "sh -c 'true; true'"

INFO[0000] [DIALER] bind to interface: wlan0
INFO[0000] [STACK] tun://tun1 <-> socks5://xxxx
WARN[0000] [TUN] failed to post-execute: sh -c 'true; true': exit status 1

CLI or Config

No response

Logs

No response

How to Reproduce

No response

@xjasonlyu
Copy link
Owner

xjasonlyu commented Nov 2, 2024

Hey, I think I have fixed this issue, but it's not currently included in v2.5.2.

If you don't mind trying to build from source, this should be okay in the latest commit.

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

2 participants