Guide
Tor obfs4 bridge one-command setup (beta)
Last updated: 1 December 2026
This free script sets up a Tor obfs4 bridge: a private entry point for people whose network blocks Tor. A bridge is not an exit relay. It is new (beta): read it first.
Instant VPS from $7.99 a month
- Sign up with an email address, a password and any nickname: no ID, no phone number.
- Pay with Monero, Bitcoin, Litecoin, USDT, USDC, SOL or TRX, or by card through MoonPay. Monero is the most private way to pay; USDT or USDC on Solana confirm in seconds, and we add no transfer fee on them.
- Orders are processed automatically and delivered in about 10 minutes.
- New VPS orders have a 24-hour guarantee (see the terms for what is covered).
See Instant VPS plansHow ordering worksRequirements and run
Ubuntu 22.04/24.04 or Debian 12/13 with root access, at any provider. Download, compare the SHA-256 (bb82f56f5d24e6796ab39d990f3425ff722df15a27c6004d70b888d1ecf43a72), read it, then run:
wget https://phantomvps.com/blog/tor-bridge.sh
sha256sum tor-bridge.sh
less tor-bridge.sh
sudo CONTACT="you@example.org" bash tor-bridge.sh
What it changes
- Installs tor and obfs4proxy from your distribution
- Replaces /etc/tor/torrc and keeps a copy of the old one
- Opens its two TCP ports in ufw only if ufw is already on
- Needs a contact address (CONTACT), which becomes public
Good to know
- Allow TCP 9001 and 8443 in your provider's firewall too
- Check the log for the reachability test: journalctl -u tor@default
- Check that your provider allows Tor bridges and that you have enough monthly traffic
Questions and answers
Is a bridge an exit node?
No. Traffic does not leave to the internet from your address.
Where is my bridge line?
In /var/lib/tor/pt_state/obfs4_bridgeline.txt.
Is it tested?
It is a beta. Please report problems to support@phantomvps.com.
Does it work on other providers?
Yes, on any server with a supported system and root access.
Ready to try it? Instant VPS from $7.99 a month
- Pick a plan: Instant 1-2, $7.99 a month or all Instant VPS plans.
- Sign up with an email address, a password and any nickname: no ID, no phone number.
- Pay with Monero, Bitcoin, Litecoin, USDT, USDC, SOL or TRX, or by card through MoonPay. Monero is the most private way to pay; USDT or USDC on Solana confirm in seconds, and we add no transfer fee on them.
- Orders are processed automatically and delivered in about 10 minutes.
- New VPS orders have a 24-hour guarantee (see the terms for what is covered).
- Before you pay you can ping our test IPs and read the live status page.
- Support is available 24/7 via email and our client ticket portal.
See Instant VPS plansHow ordering works