Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Wiki
    • Doc
  • ConnectOverSSH

Last edited by Alexander Færøy Jun 15, 2020
Page history

ConnectOverSSH

Tor and SSH

As of version 0.2.2.1-alpha, Tor supports making its connections through a SOCKS 4 or 5 server. Some SSH clients can set up a SOCKS listener to perform dynamic port forwarding. This means that you might be able to get Tor to connect through your shell account, which could be useful if your ISP blocks Tor traffic in some way.

Requirements

  • Tor >= 0.2.2.1-alpha
  • A shell account that supports port forwarding.
  • A SSH client that supports dynamic port forwarding through a SOCKS listener.

Note: Some shell providers may disable port forwarding.

Note: You will need a secure browser to use with Tor to prevent Fingerprinting and attacks. See TorifyHOWTO/WebBrowsers for instructions how Tor Browser can be used separately with custom proxy settings, without the bundled Tor/Vidalia.

Using OpenSSH

The OpenSSH client available on most Unix systems supports dynamic port forwarding with the -D switch.

This command will place SSH in the background while it listens for SOCKS requests on port 1080.

$ ssh -fN -D 1080 you@yourshell.net

Using PuTTY on Windows

To make PuTTY open a SOCKS listener on port 1080, do the following:

{{putty.jpg|PuTTY configuration}}

Leave the destination address field blank, and select dynamic.

Configuring Tor

Edit your Tor configuration file and add the following:

Socks4Proxy localhost:1080

Then start Tor, and hope for the best.

Clone repository
  • AnonOnWikiFavs
  • AppArmorForTBB
  • AutomationInventory
  • BadContent
  • BlockingBittorrent
  • CI
  • CamelCase
  • CrowdfundingHS2015
  • FlashProxyFAQ
  • FlashProxyHowto
  • FlashProxyUsability
  • HTTPSEverywhere
    • SSLObservatorySubmission
  • ImportantGoogleChromeBugs
  • InterMapTxt
  • InterTrac
View All Pages