Production-ready Tor anonymizer for Linux, macOS, and VPS environments. Route all system traffic through Tor with advanced security features and comprehensive monitoring.
- System-wide Tor routing - All traffic automatically routed through Tor
- DNS leak protection - All DNS queries through Tor (port 9053)
- Dual firewall support - iptables and nftables backends
- Multi-platform - Linux (all distros), macOS, VPS
- Zero-config - Works out of the box
- Lightweight - ~10MB RAM, minimal CPU usage
- IPv6 disabled (prevents leaks)
- TCP timestamps disabled (anti-fingerprinting)
- ICMP blocking (no ping responses)
- Smart node selection (excludes risky countries)
- Kill switch (blocks non-Tor traffic)
- Automatic trace clearing
- System hardening on startup
- 15+ IP verification sources with geolocation
- Multi-source Tor verification (5+ services)
- Speed & bandwidth testing (multiple file sizes)
- Real-time monitoring dashboard
- 10-point anonymity testing
- Circuit & node information
- Traffic statistics
- Auto IP rotation
- Country-specific exit nodes
- Bridge support (bypass censorship)
- Multi-hop routing
- EXTREME mode (ultra-paranoid settings)
- 64MB TCP buffers (4x default)
- BBR congestion control
- 512 concurrent circuits
- 16 entry guards
- 15s circuit build timeout
- No disk writes (faster & more secure)
git clone https://github.com/levouinse/sofinco-tor
cd sofinco-tor
sudo ./install.sh# Start Tor anonymization
sudo sofinco-tor start
# Check status
sofinco-tor status
# Get current IP (15+ sources)
sofinco-tor ip
# Get new identity
sudo sofinco-tor newid
# Stop
sudo sofinco-tor stop| Command | Description |
|---|---|
start |
Start Tor anonymization |
stop |
Stop and restore clearnet |
restart |
Restart Tor service |
status |
Show current status |
newid |
Get new identity (change IP) |
ip |
Show IP from 15+ sources with geolocation |
check |
Verify Tor from multiple sources |
bridges |
Enable Tor bridges (bypass censorship) |
notrace |
Clear all traces and logs |
| Command | Description |
|---|---|
speedtest |
Multi-endpoint speed test |
bandwidth |
Comprehensive bandwidth test (100KB-10MB) |
circuit |
Detailed circuit information |
nodes |
Show Tor nodes and entry guards |
country <code> |
Set exit node country (us, de, nl, etc.) |
autorotate [sec] |
Auto-rotate IP every N seconds |
stats |
Detailed system statistics |
traffic |
Show traffic statistics |
logs |
View Tor logs |
| Command | Description |
|---|---|
anontest |
10-point anonymity test |
fullcheck |
Comprehensive security check |
scan <target> |
Port scan through Tor |
monitor |
Real-time monitoring dashboard |
extreme |
Enable EXTREME anonymity mode |
| Command | Description |
|---|---|
backup |
Backup current configuration |
restore <file> |
Restore from backup |
multihop |
Enable multi-hop routing (3+ nodes) |
# Start and verify
sudo sofinco-tor start
sofinco-tor check
sofinco-tor ip
# Test anonymity
sofinco-tor anontest
sofinco-tor fullcheck
# Test performance
sofinco-tor speedtest
sofinco-tor bandwidth
# Use German exit nodes
sudo sofinco-tor country de
# Auto-rotate IP every 10 minutes
sudo sofinco-tor autorotate 600
# Real-time monitoring
sofinco-tor monitor
# Enable ultra-paranoid mode
sudo sofinco-tor extreme- Arch Linux / Manjaro
- Debian / Ubuntu / Mint
- Kali Linux
- Gentoo
- Void Linux
- CentOS / RHEL / Fedora
- Any distro with iptables or nftables
- macOS 10.15+
- VPS (DigitalOcean, AWS, Vultr, Linode, etc.)
- Dedicated servers
Perfect for VPS environments:
# SSH to VPS
ssh root@your-vps
# Install
git clone https://github.com/levouinse/sofinco-tor
cd sofinco-tor
./install.sh
# Start
sofinco-tor start
# Verify
sofinco-tor check
sofinco-tor ip
# Enable autostart
systemctl enable sofinco-tor- Minimal resource usage (~10MB RAM)
- Fast startup (~2 seconds)
- No disk writes (AvoidDiskWrites enabled)
- BBR congestion control for better speed
- 64MB TCP buffers for high throughput
- 512 concurrent circuits
# Custom Tor user
export TOR_UID=tor
# Custom ports
export TOR_PORT=9040
export TOR_DNS=9053
export TOR_SOCKS=9050
# Start with custom config
sudo sofinco-tor startEdit /etc/tor/torrc after installation:
sudo nano /etc/tor/torrc
sudo sofinco-tor restartAll DNS queries routed through Tor (port 9053). Verify:
sofinco-tor check
# Visit: https://dnsleaktest.comAutomatically clears on startup:
- Bash history
- System logs
- Auth logs
- All .log files
Manual clear:
sudo sofinco-tor notraceAutomatically applied:
- TCP timestamps disabled
- ICMP echo disabled
- IPv6 disabled
- ICMP redirects blocked
- BBR congestion control
- 64MB TCP buffers
- TCP Fast Open
- Startup time: ~2 seconds
- Identity change: ~2 seconds
- Memory usage: ~10MB
- CPU usage: <1%
- Download: 2-10 MB/s (depends on Tor network)
- Latency: 300-1500ms
- Circuit build: 5-15 seconds
Test your speed:
sofinco-tor speedtest
sofinco-tor bandwidth# Check Tor service
sudo systemctl status tor
# Check logs
sudo journalctl -u tor -n 50
# Restart
sudo systemctl restart tor
sudo sofinco-tor start# Stop and restore
sudo sofinco-tor stop
# Check firewall
sudo iptables -L -n -v
# or
sudo nft list ruleset
# Try again
sudo sofinco-tor start# Get new identity
sudo sofinco-tor newid
# Enable bridges
sudo sofinco-tor bridges
# Test speed
sofinco-tor speedtest# Verify Tor
sofinco-tor check
# Restart
sudo sofinco-tor restart
# Test at: https://dnsleaktest.comEnable autostart on boot:
# Enable
sudo systemctl enable sofinco-tor
# Start now
sudo systemctl start sofinco-tor
# Check status
sudo systemctl status sofinco-tor- Use Tor Browser alongside this tool
- Change identity regularly:
sudo sofinco-tor newid - Don't log into personal accounts
- Disable WebRTC in browser
- Use HTTPS sites only
- Don't torrent over Tor
- Run anonymity test:
sofinco-tor anontest
- Use dedicated VPS for anonymity
- Pay with cryptocurrency
- Use fake registration info
- Enable autostart:
systemctl enable sofinco-tor - Monitor regularly:
sofinco-tor monitor - Clear traces:
sudo sofinco-tor notrace
- Change identity if slow:
sudo sofinco-tor newid - Enable bridges in censored regions:
sudo sofinco-tor bridges - Use during off-peak hours
- Choose VPS with good network
- Test speed:
sofinco-tor speedtest
- Backup - Saves current firewall and DNS config
- Configure - Generates optimized Tor config
- DNS - Routes all DNS through Tor (127.0.0.1:9053)
- Firewall - Redirects all traffic through Tor (127.0.0.1:9040)
- Harden - Applies security optimizations
- No-Trace - Clears logs and history
- Start - Launches Tor with optimized settings
- DNS leak protection
- IPv6 disabled
- TCP timestamps disabled
- ICMP blocking
- Smart node selection
- Kill switch (blocks non-Tor)
- No disk writes
- Automatic trace clearing
- Multiple SOCKS ports
- Circuit isolation
- README.md - This file
- QUICKSTART.md - Quick start guide
- FAQ.md - Frequently asked questions
- ADVANCED.md - Advanced usage
- COMMANDS.md - Command reference
- ULTRA-FEATURES.md - Ultra-OP features
Contributions welcome! Please:
- Fork the repository
- Create feature branch
- Test thoroughly
- Submit pull request
GPL-3.0 License - See LICENSE file
This tool is for privacy and educational purposes only. Users are responsible for compliance with local laws. The authors assume no liability for misuse.
- Repository: https://github.com/levouinse/sofinco-tor
- Issues: https://github.com/levouinse/sofinco-tor/issues
- Tor Project: https://www.torproject.org
- Documentation: README.md, QUICKSTART.md, FAQ.md
- Issues: GitHub Issues
- Tor Project: https://www.torproject.org
Made with ❤️ for privacy and anonymity
Stay anonymous, stay safe! 🔒