I wrote some experimental elisp (haven’t pushed but I should finish it by this weekend) to automatically proxy the connection over tuntox. It’s pretty fast after the connection is established, but can take about 10s to establish the connection even if I’m connecting from localhost to localhost. Also, seems that it doesn’t drop the connection to server even if the client close the connection. Server Emacs -1- tuntox -???- tuntox -2- Client Emacs when TCP connection 2 closes, nothing happen to TCP connection 1. Maybe this is not a big deal anyway, I can easily add a command to kill connection manually on the server. > On Oct 28, 2020, at 12:29 PM, Jean Louis wrote: > > * Qiantan Hong [2020-10-26 23:37]: >> ngrok is free software I think, both server and client >> side. However last time I check it myself it does >> seems that you need to sign up to use TCP tunnel >> on their official servers and the sign up page require >> non-free JS. That’s why I didn’t mention it in my documentation. > > SSH is easiest > > > 3 stunnel -- should be accompanied with SSH > ========= > > Beschreibung : A program that allows you to encrypt arbitrary TCP > connections inside SSL, with libressl and OpenRC support URL : > > > > 4 tuntox > ======== > > Beschreibung : Tunnel TCP connections over the Tox protocol, with > logger recommendation and OpenRC support URL : > > > > 1 iodine > ======== > > Name : iodine Beschreibung : Tunnel IPv4 data through a DNS server URL > : > > It can be used through DNS, very handy when mobile data is out of > credit but one has access to DNS system. Works with many > providers. That would be collaborative avoidance of Internet fees. > > > 2 ptunnel > ========= > > Beschreibung : A tool for reliably tunneling TCP connections over ICMP > echo request and reply packets URL : > > > Similar like above iodined. > > > -- > Jean Louis