{{Header}} {{Title| title=Connecting to SSH before Tor }} {{#seo: |description=Instructions on how to connect to SSH before Tor. (User → SSH → Tor → Internet) |image=Norman-79860640.jpg }} [[image:Norman-79860640.jpg|thumb]] {{intro| Instructions on how to connect to SSH before Tor. '''UserSSHTorInternet''' }} = Introduction = {{Tunnels_Introduction}} {{Stub}} {{mbox | type = notice | image = [[File:Ambox_notice.png|40px]] | text = Advertisement:
It's possible to pay for the completion of this wiki page. Send reasonable price suggestions. Get in [[Contact#For_Private_Inquiries|contact]]. }} The SSH tunnel be configured on the host {{Os}} (outside any {{VM}} or inside {{project_name_gateway_long}}. = Install SSH Client = {{Install Package|package= openssh-client }} = Test Connection = {{CodeSelect2|code= ssh example.com }} * '''TODO''': Public key authentication steps {{CodeSelect2|code= apt install lynx }} {{CodeSelect2|code= lynx check.torproject.org }} {{CodeSelect2|code= exit }} = Configure Local Server = {{CodeSelect2|code= ssh -D 127.0.0.1:1080 example.com }} * '''TODO''': Run in background on each start up before Tor. * '''TODO''': Public Key authentication steps = Configure Tor = ==== Option 1: Use {{Code2|Anon Connection Wizard}} ==== A prefixed proxy can be configured easily using [[Anon_Connection_Wizard|Anon Connection Wizard]].
===== Step 1: Start Anon Connection Wizard ===== {{Start_Anon_Connection_Wizard}} ===== Step 2: Use Proxy Configuration Page ===== {{Anon_Connection_Wizard_Use_Proxy}}
==== Option 2: Manually Configure Proxy ====
{{Open /usr/local/etc/torrc.d/50_user.conf}} * If SSH tunnel was setup from {{project_name_gateway_short}}: {{CodeSelect2|code= Socks5Proxy 127.0.0.1:1080 }} * If SSH tunnel was setup from host operating system, change IP:PORT as needed: {{CodeSelect2|code= Socks5Proxy IP:PORT }}
= Firewall Configuration = * '''TODO''': if running inside {{project_name_gateway_short}}, new firewall rules are probably required. = Footnotes = {{reflist|close=1}} {{Footer}} [[Category:Documentation]]