Difference between revisions of "TOR2IP-Tunnelservice"

From fulmo
Jump to navigation Jump to search
Line 4: Line 4:
  
 
== poc ==
 
== poc ==
 +
 +
=== Server ===
  
 
- run tor on a server with public ip address
 
- run tor on a server with public ip address
  
- internet server: # socat TCP4-LISTEN:19989,bind=0.0.0.0,fork SOCKS4A:localhost:----YOUR-ONION-ADDRESS---.onion:10009,socksport=9050
+
- server$ socat TCP4-LISTEN:19989,bind=0.0.0.0,fork SOCKS4A:localhost:----YOUR-ONION-ADDRESS---.onion:10009,socksport=9050
 +
 
 +
 
 +
=== RaspiBlitz ===
  
 +
- add tlsextradomain=internet.server.com to lnd.conf
  
- raspiblitz: add tlsextradomain=internet.server.com to lnd.conf
+
- delete certificates 
  
- delete certificates raspiblitz:
+
- restart lnd # service lnd restart
  
- Blitz:/mnt/hdd/lnd# cp tls.cert /home/admin/.lnd/tls.cert  
+
- # cp /mnt/hdd/lnd/tls.cert /home/admin/.lnd/tls.cert  
  
- restart lnd raspiblitz:  
+
Connect iOS Zap to RaspiBlitz:
  
- raspiblitz: admin$ /usr/local/gocode/bin/lndconnect --host=internet.server.com -p 19989
+
- admin$ /usr/local/gocode/bin/lndconnect --host=internet.server.com -p 19989
  
  

Revision as of 15:43, 4 April 2020

TOR2IP-Tunnelservice

[WIP]


poc

Server

- run tor on a server with public ip address

- server$ socat TCP4-LISTEN:19989,bind=0.0.0.0,fork SOCKS4A:localhost:----YOUR-ONION-ADDRESS---.onion:10009,socksport=9050


RaspiBlitz

- add tlsextradomain=internet.server.com to lnd.conf

- delete certificates

- restart lnd # service lnd restart

- # cp /mnt/hdd/lnd/tls.cert /home/admin/.lnd/tls.cert

Connect iOS Zap to RaspiBlitz:

- admin$ /usr/local/gocode/bin/lndconnect --host=internet.server.com -p 19989


Links

Service like this without tor:

https://pagekite.net

(maybe we can expand this or use it via tor)