You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 3, 2021. It is now read-only.
假如支持了 tap,那应该也只会是 tap2socks,你自己的程序是拿不到 IP 包的,如果你的程序想拿 IP 包,应该去直接读 tun,或者你是想 tun2socks 开个接口出来把特定 IP 包直接传给你程序?这个如果放在 tun2socks 里面处理的话,你可以实现一个 filter,在 filter 里面把想要的 IP 包过滤出来。
另外为什么能够摆脱路由呢?据我所知,就算在 Linux 上,如果不改内核,所有包还是得按路由来,如果想不按路由来,可能需要其它工具的辅助,比如 iptables,policy routing 之类的,这方面我并不熟悉。
目前我的应用里面会使用一些二层的协议,能否通过支持 tap 口来实现对这些协议的支持呢?
The text was updated successfully, but these errors were encountered: