<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://lightningwiki.net/index.php?action=history&amp;feed=atom&amp;title=TOR_node_at_home%2C_cloud_IP</id>
	<title>TOR node at home, cloud IP - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://lightningwiki.net/index.php?action=history&amp;feed=atom&amp;title=TOR_node_at_home%2C_cloud_IP"/>
	<link rel="alternate" type="text/html" href="http://lightningwiki.net/index.php?title=TOR_node_at_home,_cloud_IP&amp;action=history"/>
	<updated>2026-10-18T02:50:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.0</generator>
	<entry>
		<id>http://lightningwiki.net/index.php?title=TOR_node_at_home,_cloud_IP&amp;diff=1548&amp;oldid=prev</id>
		<title>MiltonPusser at 12:19, 16 October 2020</title>
		<link rel="alternate" type="text/html" href="http://lightningwiki.net/index.php?title=TOR_node_at_home,_cloud_IP&amp;diff=1548&amp;oldid=prev"/>
		<updated>2020-10-16T12:19:27Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:19, 16 October 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l30&quot;&gt;Line 30:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 30:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;chmod +x /root/tunnel&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;chmod +x /root/tunnel&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;echo &amp;quot;*/15  * * * * root /root/tunnel&amp;quot; &amp;gt;&amp;gt; /etc/cron.d/tunnel&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;echo &amp;quot;*/15  * * * * root /root/tunnel&amp;quot; &amp;gt;&amp;gt; /etc/cron.d/tunnel&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/pre&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;in ~/.lnd/lnd.conf add:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;pre&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;externalip=1.2.3.4&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;externalhosts=addr.onion&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>MiltonPusser</name></author>
	</entry>
	<entry>
		<id>http://lightningwiki.net/index.php?title=TOR_node_at_home,_cloud_IP&amp;diff=1547&amp;oldid=prev</id>
		<title>MiltonPusser: Created page with &quot;If you have a 100% TOR host at home and do not want to expose your home IP, but still want a clearnet IP, you can &quot;export&quot; the port on your VPS.  =Requirements= * TOR reachabl...&quot;</title>
		<link rel="alternate" type="text/html" href="http://lightningwiki.net/index.php?title=TOR_node_at_home,_cloud_IP&amp;diff=1547&amp;oldid=prev"/>
		<updated>2020-10-16T12:08:25Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;If you have a 100% TOR host at home and do not want to expose your home IP, but still want a clearnet IP, you can &amp;quot;export&amp;quot; the port on your VPS.  =Requirements= * TOR reachabl...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;If you have a 100% TOR host at home and do not want to expose your home IP, but still want a clearnet IP, you can &amp;quot;export&amp;quot; the port on your VPS.&lt;br /&gt;
&lt;br /&gt;
=Requirements=&lt;br /&gt;
* TOR reachable lightning node&lt;br /&gt;
* VPS&lt;br /&gt;
&lt;br /&gt;
=Steps=&lt;br /&gt;
On your home node:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ssh-keygen #run, follow steps, do not set a passphrase&lt;br /&gt;
cat ~/.ssh/id_rsa.pub #copy this key&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On the VPS, as the root user:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo -i&lt;br /&gt;
useradd --create-home--shell lightningnode&lt;br /&gt;
mkdir /home/lightningnode/.ssh&lt;br /&gt;
chmod 0700 /home/lightningnode/.ssh&lt;br /&gt;
nano /home/lightningnode/.ssh # paste the key, save&lt;br /&gt;
chmod 0400 /home/lightningnode/.ssh&lt;br /&gt;
nano /etc/ssh/sshd_config # change GatewayPorts to yes (possibly uncomment)&lt;br /&gt;
systemctl restart sshd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On the node at home:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo -i&lt;br /&gt;
echo -e &amp;quot;#!/bin/bash\nnmap -p 9735 vps.net | grep open &amp;gt;/dev/null || ssh -NR *:9735:127.0.0.1:9735 lightningnode@vps.net&amp;quot; &amp;gt;&amp;gt; /root/tunnel&lt;br /&gt;
chmod +x /root/tunnel&lt;br /&gt;
echo &amp;quot;*/15  * * * * root /root/tunnel&amp;quot; &amp;gt;&amp;gt; /etc/cron.d/tunnel&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>MiltonPusser</name></author>
	</entry>
</feed>