All Projects → vi → Tcpsocks

vi / Tcpsocks

Licence: lgpl-2.1
Redirect traffic to SOCKS5 server with iptables, epoll based, single threaded.

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Tcpsocks

3proxy
3proxy - tiny free proxy server
Stars: ✭ 2,493 (+3096.15%)
Mutual labels:  socks, socks5
Socks5
A full-fledged high-performance socks5 proxy server written in C#. Plugin support included.
Stars: ✭ 286 (+266.67%)
Mutual labels:  socks5, socks
socks5 list
Auto-updated SOCKS5 proxy list + proxies for Telegram
Stars: ✭ 210 (+169.23%)
Mutual labels:  socks, socks5
arch-privoxyvpn
Docker build script for Arch Linux base with Privoxy and OpenVPN
Stars: ✭ 55 (-29.49%)
Mutual labels:  socks, socks5
Daze
Daze is a tool to help you link to the Internet.
Stars: ✭ 580 (+643.59%)
Mutual labels:  socks5, socks
asyncio-socks-server
A SOCKS proxy server implemented with the powerful python cooperative concurrency framework asyncio.
Stars: ✭ 154 (+97.44%)
Mutual labels:  socks, socks5
Nps
一款轻量级、高性能、功能强大的内网穿透代理服务器。支持tcp、udp、socks5、http等几乎所有流量转发,可用来访问内网网站、本地支付接口调试、ssh访问、远程桌面,内网dns解析、内网socks5代理等等……,并带有功能强大的web管理端。a lightweight, high-performance, powerful intranet penetration proxy server, with a powerful web management terminal.
Stars: ✭ 19,537 (+24947.44%)
Mutual labels:  socks5, socks
Prox5
🧮 SOCKS5/4/4a 🌾 validating proxy pool and upstream SOCKS5 server for 🤽 LOLXDsoRANDum connections 🎋
Stars: ✭ 39 (-50%)
Mutual labels:  socks, socks5
Netch
A simple proxy client
Stars: ✭ 10,297 (+13101.28%)
Mutual labels:  socks5, socks
Socks
A SOCKS (SOCKS4, SOCKS4A and SOCKS5) Proxy Package for Go
Stars: ✭ 355 (+355.13%)
Mutual labels:  socks5, socks
Socks5
A full-fledged high-performance socks5 proxy server written in C#. Plugin support included.
Stars: ✭ 331 (+324.36%)
Mutual labels:  socks, socks5
Jsocksproxy
SOCKS proxy written in Java
Stars: ✭ 19 (-75.64%)
Mutual labels:  socks5, socks
python-socks
Core proxy client (SOCKS4, SOCKS5, HTTP) functionality for Python
Stars: ✭ 40 (-48.72%)
Mutual labels:  socks, socks5
Pummel
Socks5 Proxy HTTP/HTTPS-Flooding (cc) attack
Stars: ✭ 53 (-32.05%)
Mutual labels:  socks, socks5
microsocks11
A cross-platform SOCKS5 library and server based on the microsocks project.
Stars: ✭ 22 (-71.79%)
Mutual labels:  socks, socks5
rsp
Rapid SSH Proxy
Stars: ✭ 223 (+185.9%)
Mutual labels:  socks, socks5
sx
🖖 Fast, modern, easy-to-use network scanner
Stars: ✭ 1,267 (+1524.36%)
Mutual labels:  socks, socks5
nimSocks
A filtering SOCKS proxy server and client library written in nim.
Stars: ✭ 51 (-34.62%)
Mutual labels:  socks, socks5
Socks5
SOCKS Protocol Version 5 Library in Go. Full TCP/UDP and IPv4/IPv6 support
Stars: ✭ 321 (+311.54%)
Mutual labels:  socks5, socks
Docker Dante Telegram
dante config builder for Telegram SOCKS-proxy & Dockerfile for building image with such proxy
Stars: ✭ 16 (-79.49%)
Mutual labels:  socks5, socks

Simple Linux epoll-based single thread SOCKS5 client. Supports getting destination address with SO_ORIGINAL_DST (for use with -j REDIRECT iptables target) and telling that address to SOCKS server.

Alternative, more complete libevent-based implementation: redsocks

Example setup:

# # Prepare iptables:
# iptables -t nat -N QQQ
# iptables -t nat -A QQQ -d 127.0.0.0/8 -j RETURN
# iptables -t nat -A QQQ -d 80.83.124.150 -p tcp --dport 22 -j RETURN
# iptables -t nat -A QQQ -p tcp -j REDIRECT --to-ports 1234
# iptables -t nat -I OUTPUT 1 -j QQQ
# iptables -t nat -I PREROUTING 1 -j QQQ

$ # connect to SSH:
$ ssh -D 127.0.0.1:1080 [email protected]

$ # start tcpsocks:
$ tcpsocks 0.0.0.0 1234 REDIRECT REDIRECT 127.0.0.1 1080
192.168.99.2:54761 -> 66.102.13.103:80 [5->6]
    192.168.99.2:54761 -> 66.102.13.103:80 [5->6] Started 
    192.168.99.2:54761 -> 66.102.13.103:80 [5->6] Finished
192.168.99.2:56097 -> 79.105.152.94:24692 [5->6]
    192.168.99.2:56097 -> 79.105.152.94:24692 [5->6] Started
192.168.99.2:45627 -> 79.97.43.185:59283 [17->18]
    192.168.99.2:45620 -> 79.97.43.185:59283 [13->14] tcpsocks: End of file from SOCKS5 server [phase 3]
    192.168.99.2:45620 -> 79.97.43.185:59283 [13->14] Finished
?
Commands: quit list kill Debug
l
    192.168.99.2:56097 -> 79.105.152.94:24692 [5->6] 2317:425
k 5
    192.168.99.2:56097 -> 79.105.152.94:24692 [5->6] Finished
l

tcpsocks allow interactive control of connections: you can list then and kill (by specifying fd). When listing, it prints uploaded/downloaded bytes for each connection.

tcpsocks does not require configuration expect of command line parameters.

You can't limit connection speed, use tcplim for this.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].