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

[Feature] missing "--tun-post-down" option #357

Open
aa51513 opened this issue Apr 17, 2024 · 2 comments
Open

[Feature] missing "--tun-post-down" option #357

aa51513 opened this issue Apr 17, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@aa51513
Copy link

aa51513 commented Apr 17, 2024

Description

After starting tun2socks, I used the "--tun-post-up" option to adjust the routing table,

but now I have a problem, I can't find the hook to restore the routing table after the process is closed,

I think "--tun -post-down" option is very necessary

Is this feature related to a specific bug?

no

Do you have a specific solution in mind?

add "--tun-post-down" option

@gaby
Copy link

gaby commented Jun 4, 2024

@xjasonlyu This would be very helpful to keep a clean state. Else when the interface comes back up it will run post-up twice

@xjasonlyu
Copy link
Owner

sounds good

@xjasonlyu xjasonlyu added the enhancement New feature or request label Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants