Comments (4)
- It is possible to add an option of setting MTU and DNS and it is easy to implement. PR is welcome.
- Modifying the route table is complicated. Currently, shadow just supports adding an entry. But I'm not sure how to implement excluding routes.
- As the
main
function is quite simple now. If you want to pass arguments via CLI, I suggest you write a customizedmain.go
. I want to keep shadow simple and won't add too many args.
from shadow.
Modifying the route table is complicated. Currently, shadow just supports adding an entry. But I'm not sure how to implement excluding routes
excluding routes is already implemented in my module
from shadow.
Setting DNS is just applicable for Windows. So I won't add this feature. Setting MTU is fine. However, I DO not think it is necessary. I think adding an option to run PostUp
and PostDown
is a better way to modify the route table for excluding routes.
I have read your method about excluding routes. I doubt that adding these route entries may conflict with original ones.
from shadow.
Hi, I'm working on a similar project fork (https://github.com/eycorsican/go-tun2socks). I implemented some features I missed, but the upstream project is based on LwIP stack, which I don't like.
I'd happy to switch to your project, but it doesn't support features listed below:
- MTU set for Windows (wireguard doesn't set it by default)
- Exclude routes (CLI arg + config)
- It would be nice if you make config file to be optional and allow specifying parameters via CLI args as well
I prepared a package to support this stuff: https://github.com/kayrus/tuncfg
Let me know if you want to embed it into your project
何必纠结LwIP?tun2socks其实最难受的还是需要手动安装一次虚拟网卡,好像叫tap-windows。相比之下还是本项目的作者更为简单直接,一套cmd直接带走。
from shadow.
Related Issues (20)
- Support geosite.dat and faster DomainMatcher implementation HOT 4
- error in openwrt while routing HOT 5
- dns: buffer size too small....error
- Help : Trojan Go url format HOT 1
- 原理请教 HOT 1
- 关于shadow的托管流量的原理问题 HOT 4
- Shadow not proxing HOT 1
- 大佬你好 HOT 3
- protocol error: not a supported scheme: http HOT 1
- Please update the go.mod
- Since version 0.4.8, shadowsocks cannot be connected. HOT 1
- can't launch shadow HOT 3
- Block non-proxified traffic HOT 1
- v2ray的url如何填写? HOT 1
- 关于WinTun转发处理的疑问请教 HOT 8
- 没有编译成功吗? HOT 2
- 在哪里下载 geosite.dat Country.mmdb HOT 1
- 建议单独新建一个fakedns server HOT 1
- What is the nameserver for? HOT 2
- Trojan部分内核用的Trojan-go吗
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shadow.