Comments (7)
shadowsocks/badvpn fork supports UDP directly
Checkout --enable-udprelay
in tun2socks.c
It seems that direct UDP support is now possible w/ --socks5-udp
parameter
You should build the current git version instead of 1.999.130, which is from 2015
from badvpn.
Hi,
Tun2socks can support UDP through an udpgw daemon running on a remote host (on the remote side of the SOCKS). Please see details here, https://code.google.com/archive/p/badvpn/wikis/tun2socks.wiki
Currently tun2socks does not support UDP directly through SOCKS (the UDP feature of SOCKS). But note that the utility of such a feature depends on the SOCKS server anyway (e.g. Tor's doesn't support it).
from badvpn.
Also I should emphasize that tun2socks was not intended for bypassing firewalls or censoring systems, and I have no plans to add any features specifically for that. It is just a way to transparently forward traffic through a SOCKS server, not much more.
from badvpn.
Ok, tks.
from badvpn.
@ambrop72
"Currently tun2socks does not support UDP directly through SOCKS (the UDP feature of SOCKS). But note that the utility of such a feature depends on the SOCKS server anyway"
if I use dante(support UDP) as the socks server, did I need udpgw daemon running on the same server? can you tell me the flow of forward udp by useing udpgw, I guess as follow :
tun--->tun2socks---->UdpGwClient---->SocksUdpGwClient-- ->socks_client--->socks_server--->udpgw ?
from badvpn.
The udpgw mechanism works such that tun2socks establishes a TCP connection to udpgw, through the SOCKS server. Udpgw sends and receives UDP packets using normal OS network access.
This is how it works, but I can't say what is the right solution for you. It may not be useful for your case in the first place (if you have no reasonable place to deploy udpgw).
from badvpn.
shadowsocks/badvpn fork supports UDP directly
Checkout--enable-udprelay
in tun2socks.cIt seems that direct UDP support is now possible w/
--socks5-udp
parameterYou should build the current git version instead of 1.999.130, which is from 2015
Can anyone explain the --socks5-udp is official feature to let tun2socks to proxify UDP traffic? Thanks.
from badvpn.
Related Issues (20)
- confused me:why use an empty job for sync in listener_accept_func HOT 4
- socks5 udp doesn't work with IPv6 HOT 1
- why not using boost::asio
- 请问tun2socks透明代理udp该怎么做? HOT 2
- Forks
- Any limitations on Raspberry Pi? HOT 5
- Linux Router
- move_first_timers crash HOT 1
- BadVPN not Working Properly
- ERROR(udpgw): BConnection_Init failed HOT 8
- BADVPN ERROR
- out of UDP buffer
- Virtual netword adapter tap 9 via tun2socks. Need instruction HOT 4
- tun2socks и proxy ipv6
- Assertion failed in BReactor_badvpn.c
- How does the UdpGw daemon work? HOT 2
- tun2socks not support half-closing
- tun2socks on freebsd
- nss/ssl.h not found HOT 1
- 能否在Wiki中写一下tun2socks组件转发的UDP包结构? HOT 1
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 badvpn.