New AMD EPYC dedicated servers in the Swiss Alps, from $64.99 a month See servers

Pay with
EN

Self-hosted app·Privacy and networking

Host an onion service on a VPS in the Swiss Alps.

How to host an onion service on a VPS in ALP1, Swiss Alps: Tor v3 on Debian 13, no inbound ports, PoW DoS defence, sizing, cost and Swiss law.

Runs here
  • Tor
  • NGINX
  • Debian

ALP1·Swiss Alps

In stock

Recommended for this use case

Cloud VPS · Staging, devStarter · 2 vCPU · 2 GB RAM$6.99/mo80 GB NVMe · 10 TB transfer · 1 Gbps
  • 1 Gbps port10 TB of transfer a monthIncluded
  • Debian 13preinstalled with the orderIncluded
  • DDoS protection, 1 IPv4VNC console and full rootIncluded
Per month$6.99/mo

Optional: daily backups +20% · extra IPv4 $2 · priority support $10
Pay yearly: $62.99 a year, about 25% less

Deploy VPS Starter
  • No KYC
  • Crypto only
  • Swiss jurisdiction

ALP1 · Swiss Alps · Our own hardware, under Swiss law, paid in crypto

  • 2 vCPU, 2 GB RAM
  • 80 GB NVMe local storage
  • 10 TB transfer on a 1 Gbps port
  • DDoS protection included
  • Swiss jurisdiction, outside the EU

01/06

Short answer.

Yes. A Tor v3 onion service runs comfortably on our VPS Starter, 2 vCPU, 2 GB RAM, 80 GB NVMe and 10 TB of monthly transfer for $6.99, in ALP1, Swiss Alps, on Debian 13 with tor installed from the Tor Project's own repository. Tor reaches the network through outbound connections only, so the service needs no inbound port and no DNS record to be reachable.

The setting that matters most sits outside the torrc: the application behind the onion address must not be reachable or identifiable any other way. If it also answers on the server's public IPv4, or a page pulls fonts and scripts from a clearnet domain, the .onion can be tied back to the machine, and no Tor option will undo that afterwards. One limit applies to every VPS, ours included. An onion service hides the server's location from visitors and from the network; it does not hide it from the company that runs the hypervisor.

02/06

What an onion service is, and who runs one.

An onion service is a TCP service published inside the Tor network under an address derived from an ed25519 key pair. Tor generates the pair on first start and stores it in the HiddenServiceDir. The secret half, hs_ed25519_secret_key, is the service's identity, and the Tor Project's setup guide states plainly that anyone who obtains it can impersonate you. Version 2 addresses were retired in 2021, so everything on this page is v3, with 56 characters before .onion.

Newsrooms usually run an onion mirror of a site that already exists in public. Readers on filtered networks reach it without leaving Tor, and Tor Browser offers the switch by itself when the clearnet site, served over HTTPS, sends an Onion-Location header. NGOs more often publish something smaller and private, such as an internal wiki or a file drop, behind client authorisation, so that only holders of a key can even fetch the service descriptor. Whistleblowing intake is the third case, and there the choice of software decides the hosting. GlobaLeaks installs on an ordinary Debian or Ubuntu server and sets up its own v3 onion service, which suits a VPS. SecureDrop's documentation asks for physical servers that the organisation owns and keeps on its own premises, because a provider can reach cloud machines whenever it likes. That reasoning is correct, it applies to us, and we would not sell you a VPS for SecureDrop.

Before installing anything, decide which kind of onion you need. A standard onion service puts three Tor hops of its own between the server and the rendezvous point, and those hops are what keep its location hidden. A single onion service drops them: pages load faster and the server becomes locatable, while the reader keeps Tor's protection. For the mirror of a public news site whose IP address is no secret anyway, single onion mode is the sensible choice. Tor will not run both kinds in one instance, and a key directory used once in single-hop mode can never again serve a standard service, so make the choice before you publish the address.

Our servers are in Switzerland and answer to Swiss law. We act only on orders from competent Swiss authorities, and a request from abroad has to pass through one of them first.

03/06

Requirements and sizing.

Tor's footprint is modest next to the application it fronts. A single tor process does most of its circuit handling on one core, so beyond the first two vCPUs, extra cores help the application rather than tor. The keys weigh a few kilobytes; disk is for whatever you publish.

ResourceWhat an onion service needsVPS Starter
Inbound portsNoneFirewall can drop everything except SSH
OutboundTCP to Tor relaysNot filtered
CPUAbout one core for tor, the rest for the app2 vCPU
RAMSet by the application2 GB
DiskKeys plus content80 GB NVMe
TrafficYour pages plus Tor's cell overhead10 TB/month, 1 Gbps port

Transfer is the line people skip. VPS traffic is not unmetered: Starter includes 10 TB a month, which averages about 31 Mbit/s over 30 days (theoretical). A 2 MB article page fits into that roughly five million times (theoretical, before Tor's fixed-size cells add a few percent). Tor circuits are slow enough that one onion site rarely comes near the ceiling; a Tor relay on the same machine easily would, which is one of the reasons not to put one there.

Move to Standard (4 vCPU, 4 GB, 160 GB NVMe, 15 TB, $12.99) when the application asks for it, for example a CMS with a database or a GlobaLeaks instance receiving large attachments. Tor alone is never the reason.

04/06

How to deploy it with us.

  1. 01

    1. Deploy the VPS

    Order VPS Starter with Debian 13 and log in with your SSH key. The commands below run as root.

  2. 02

    2. Install tor from the Tor Project

    At the time of writing, Debian 13's main archive carries tor 0.4.8.16 and trixie-backports a later 0.4.8 build, while upstream has moved to the 0.4.9 series and, since September 2026, publishes security releases on a two-week cadence. An onion service should track upstream:

    sh
    apt install -y gpg wget nginx nftables wget -qO- https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc \ | gpg --dearmor > /usr/share/keyrings/deb.torproject.org-keyring.gpg cat > /etc/apt/sources.list.d/tor.sources <<'EOF' Types: deb URIs: https://deb.torproject.org/torproject.org Suites: trixie Components: main Signed-By: /usr/share/keyrings/deb.torproject.org-keyring.gpg EOF apt update && apt install -y tor deb.torproject.org-keyring tor --list-modules | grep pow

    The last command must print pow: yes; the proof-of-work defence in step 4 depends on it.

  3. 03

    3. Bind the application to loopback

    Debian's nginx package enables a default site on port 80 of every interface, which would serve your content on the public IP. Remove it and listen on loopback only:

    nginx
    # /etc/nginx/sites-available/onion, symlinked into sites-enabled server { listen 127.0.0.1:8080; server_name _; root /var/www/onion; server_tokens off; access_log off; }
    sh
    rm /etc/nginx/sites-enabled/default ln -s /etc/nginx/sites-available/onion /etc/nginx/sites-enabled/onion nginx -t && systemctl reload nginx

    A Unix socket is stricter still (HiddenServicePort 80 unix:/run/onion-site.sock), but Debian runs tor under an AppArmor profile, and if the tor log reports permission denied on the socket, the fix goes in /etc/apparmor.d/local/system_tor. If the application lives in Docker, publish it as -p 127.0.0.1:8080:80. A bare -p 8080:80 binds every interface, and Docker's forwarding rules handle the packet before the host firewall's input chain ever sees it.

  4. 04

    4. Configure the onion service

    Append to /etc/tor/torrc:

    example
    HiddenServiceDir /var/lib/tor/site/ HiddenServicePort 80 127.0.0.1:8080 HiddenServiceEnableIntroDoSDefense 1 HiddenServicePoWDefensesEnabled 1

    Then run systemctl restart tor and read your address from /var/lib/tor/site/hostname. Both DoS options are off by default, which is why they are spelled out here. The proof-of-work defence, stable since tor 0.4.8.4, asks clients to solve a puzzle only while the service is overloaded and serves those who did the work first; when there is no attack, the requested effort decays to zero and visitors notice nothing. For a single onion mirror of a public site, add these global options as well, on a fresh HiddenServiceDir:

    example
    SocksPort 0 HiddenServiceNonAnonymousMode 1 HiddenServiceSingleHopMode 1
  5. 05

    5. Close the firewall

    example
    #!/usr/sbin/nft -f # /etc/nftables.conf flush ruleset table inet filter { chain input { type filter hook input priority 0; policy drop; ct state established,related accept iif "lo" accept meta l4proto { icmp, ipv6-icmp } accept tcp dport 22 accept } }

    Load it with systemctl enable --now nftables. Once SSH works through its own onion service with client authorisation, the port 22 rule can go as well. Test the new path in a second session before you close the first.

  6. 06

    6. Back up the key and keep tor current

    Losing the HiddenServiceDir loses the address; leaking it hands the address to someone else. Keep one copy offline and, if you want an off-site copy, push a restic-encrypted backup to an S3-compatible object storage bucket (250 GB costs $1.99 a month), with the restic password kept off the server. Add the Tor Project origin to unattended-upgrades (apt-cache policy tor shows the origin to match) so the fortnightly releases install without waiting for you.

    Two refinements are worth knowing before the service grows. Long-lived services facing a serious adversary should run the Vanguards add-on, which the Tor Project recommends against guard-discovery attacks. Services that outgrow one machine can spread across several VPS with Onionbalance, but its manual states that it does not currently work alongside the proof-of-work defence, so for now you choose between horizontal scaling and PoW.

    On the clearnet site, one line in nginx makes Tor Browser offer the onion to readers arriving over HTTPS:

    nginx
    add_header Onion-Location http://<your-address>.onion$request_uri;

05/06

Cost.

PlanvCPU / RAM / NVMeMonthly transferPortPrice per month
VPS Starter2 / 2 GB / 80 GB10 TB1 Gbps$6.99
VPS Standard4 / 4 GB / 160 GB15 TB1 Gbps$12.99
VPS Pro6 / 8 GB / 320 GB20 TB1 Gbps$22.99

Each plan includes full root and the transfer shown, and outbound traffic is not filtered. Daily backups add 20 %, which puts Starter at about $8.39 a month (theoretical calculation); an extra IPv4 is $2 a month and priority support $10 a month. Yearly billing comes to roughly 25 % less, about $5.25 a month equivalent on Starter (theoretical). The full list is on the pricing page.

Payment is in crypto only: Monero, Bitcoin, Tether (USDT), Ethereum, Litecoin and other coins, with prices and balances in US dollars. Top-ups run from $25 to $5,000, with a bonus of 5 % from $50, 10 % from $100, 15 % from $250 and 20 % from $500, and the unused paid part of a top-up is refundable within 14 days. Accounts are no-KYC: an email address is enough. We also accept business customers paying in crypto, which matters to a newsroom or NGO that wants the service held by the organisation rather than by one staff member.

06/06

Limits, law and acceptable use.

An onion address does not change what you may host: the acceptable use policy reads the same for content reached through Tor as for content on the clearnet. A DMCA notice has no direct legal effect in Switzerland. We forward complete complaints to the customer, who must remove the content or justify it, and we act on a decision of a competent Swiss authority, or where the content is manifestly unlawful (Swico Code of Conduct Hosting 2025).

The contract is with Hosta AG, a Swiss société anonyme in Riehen, and Swiss law governs it. The revised Federal Act on Data Protection has applied since 1 September 2023, and on 15 January 2024 the European Commission confirmed that Switzerland still ensures an adequate level of protection, so an EU-based NGO can keep personal data here, reports received through GlobaLeaks for instance, without additional transfer safeguards. As of 31 October 2026 the US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia, none with Switzerland. That describes one treaty route and is not a promise that no foreign request can ever reach your data; what we act on is a decision of a competent Swiss authority. The revision of the Swiss surveillance ordinance (VÜPF/OSCPT) put to consultation on 29 January 2025 was not in force on 31 October 2026, and the Federal Council has announced a second consultation. The wider jurisdiction picture is on our offshore hosting page.

On our side of the network we see that your VPS connects to Tor relays and how much it transfers; the circuits themselves are encrypted between your VPS and those relays.

Running a Tor relay is a separate matter from running an onion service. The Tor Project advises hosting onion services on a Tor client rather than on a relay, because a relay's uptime and other properties are public. Relays themselves are welcome: our acceptable use policy names Tor relays and exit nodes among the uses we host, and our Tor exit relay guide covers running one. Put it on a different VPS from the onion service.

Catalogue·Options

Every configuration, every option, every price.

Six cloud VPS plans on AMD EPYC with local NVMe. Transfer is included on every plan, from 10 TB to 100 TB a month.

Six cloud VPS plans in ALP1 · transfer included on every plan

PlanvCPUMemoryNVMeTransferPortPriceDeploy
StandardSmall apps44 GB160 GB15 TB / month1 Gbps$12.99/moDeploy Standard
ProProduction68 GB320 GB20 TB / month1 Gbps$22.99/moDeploy Pro
PowerHeavy workloads1216 GB640 GB40 TB / month2 Gbps$42.99/moDeploy Power
UltraDatabases1632 GB1000 GB60 TB / month2 Gbps$65.99/moDeploy Ultra
SummitDense hosts3264 GB2000 GB100 TB / month5 Gbps$119.99/moDeploy Summit

Every plan runs on AMD EPYC with local NVMe. Yearly billing costs about 25% less.

Every plan

  • AMD EPYCon every host
  • Local NVMenot network storage
  • DDoS protectionalways on
  • 1 IPv4 addressmore at $2 each
  • VNC consoleand full root access

Options and upgrades · prices per month

OptionWhat you getPrice
Daily backupsSnapshots of the whole VPS+20%
Extra IPv4Per address, up to 64+$2.00
Priority supportPer VPS+$10.00
Longer billingPay quarterly or yearly−10% / −25%
Dedicated serverWhen a VPS is no longer enough: 10 Gbps, unmetered trafficfrom $64.99

FAQ

Questions people ask first.

Short answers about running this in ALP1. If yours is not here, open a ticket from your panel.

Still unsure?

Tickets go straight to the people who run ALP1.

Contact support
Does an onion service need an open inbound port?

No. Tor connects outwards to relays and to its introduction points, and visitors arrive through those connections. Leave the firewall policy at drop. The only inbound rule you need is for SSH, and even that can go once SSH itself runs over an onion service with client authorisation.

Can I move an existing onion address to your VPS?

Yes. Copy the whole HiddenServiceDir (hs_ed25519_secret_key, hs_ed25519_public_key and hostname) to the new server, run chown -R debian-tor:debian-tor on it, set the directory to mode 700 and start tor. Stop the old instance first: two machines publishing descriptors for the same key compete with each other and the service becomes unreliable. Onionbalance is the supported way to put several backends behind one address.

Do I need HTTPS on the onion site?

Usually not. The Tor connection is encrypted end to end, and the address itself authenticates the service's key, which is the job a certificate does on the clearnet. The Tor Project's page on HTTPS for onion services covers the cases where a certificate still adds something.

Is a VPS good enough for a whistleblowing platform?

For GlobaLeaks, yes, provided your threat model accepts that the hosting provider could technically reach the machine. GlobaLeaks encrypts reports for their recipients, which limits what anyone with access to the server would find there. For SecureDrop, no: its own documentation requires physical servers on the organisation's premises, and we agree with it.

What should I do when the onion is under a DoS attack?

Keep both options from step 4 switched on permanently, since the proof-of-work defence costs nothing while the service is idle. Give trusted users, such as staff or partner newsrooms, a separate onion address with client authorisation, as the Tor Project's DoS guidelines suggest, so they still get in while the public address is flooded. Caching in front of the application reduces the load each accepted circuit puts on the server.

Where can I get help?

For tor itself, forum.torproject.org is where onion service operators and Tor developers answer questions. For the VPS, open a support ticket from the client panel; account questions are covered in our FAQ.

Sources

Every fact on this page, with its source

Checked 5 Nov 2026 unless noted.

Industry, providers and software

ALP1·Swiss Alps

Your server in the Alps, ready when you are.

Cloud VPS start at $6.99 a month and are usually set up within minutes of your order.