mirror of
https://github.com/p1neappleXpress/OpenFlux.git
synced 2026-10-02 05:04:39 +08:00
4c3a6653e009e3241d31801f662fa07f485fc5bf
Universal Bypass Tool
Network stack research tool. TCP tunnel with pluggable transports.
Client (SOCKS5) --> Transport (Yandex Docs WS) --> Exit Node --> Internet
What it does
Sends TCP packets through Yandex Docs cursor messages. Client side runs a SOCKS5 proxy, exit node decapsulates and forwards to real internet.
Structure
openflux/
├── main.go
├── transport/
│ ├── transport.go # Transport interface
│ └── yandex/ # Yandex Docs backend
├── tunnel/
│ ├── tunnel.go # TCP tunnel core
│ ├── endpoint.go # Virtual NIC
│ └── rawsocket.go # Raw socket (exit node)
├── socks5/ # SOCKS5 server
├── network/ # Checksums, packet parsing
└── utils/ # Debug logging
Build
go mod tidy
go build -o openflux .
Usage
Exit node (needs root):
sudo iptables -A OUTPUT -p tcp --tcp-flags RST RST -j DROP
sudo ./openflux --exit-node --url "YOUR_YANDEX_DOC_URL" --debug
Client:
./openflux --client --url "YOUR_YANDEX_DOC_URL" --socks5 :1080 --debug
Then point your browser to SOCKS5 proxy at localhost:1080.
Flags
| Flag | Default | Description |
|---|---|---|
--client |
Run as client | |
--exit-node |
Run as exit node | |
--url |
https://localhost |
Document URL |
--socks5 |
:1080 |
SOCKS5 listen addr |
--debug |
false |
Verbose logging |
--transport |
yandex |
Transport backend |
Adding new transports
Implement the Transport interface from transport/transport.go, add your package, register in main.go switch.
License
Educational use only. Test on your own machines and networks.
Languages
Go
80.4%
PHP
9.3%
Shell
4.6%
HTML
2.7%
Swift
1.7%
Other
1.2%