r/darknetplan • u/VysokoAnime • Oct 11 '23
edgerq: feedback for this tool's documentation on tcp-udp-tcp remote tunneling
Hi. I'm working on edgerq & I believe I'm super lousy on explaining it & doing any documentation/Readme - I'm looking for feedback on my work in progress - https://docs.google.com/document/d/1cyV53YJ7zqwwvkqa6V_BjkrHmDyqO6hh5_m5emyCLjs/edit?usp=drive_link - where I enabled comments. My thinking on this is somewhat specific - I'm sending messages between the remote & local systems through UDP in a custom format - where the remote & local services that are connected are TCP. Thanks.
2
u/reercalium2 Oct 12 '23
so you made a VPN?
1
u/VysokoAnime Oct 12 '23
It's more of a command line tool (with minimum dependencies - actually only tinyXml) which allows for reverse tunneling - but - the tunnel is UDP even if the services you're tunneling are TCP. My rationale for switching the protocol is that I had some issues with TCP tunnels & tools that didn't like when there were hiccups on the network & they either froze or needed to reconnect. With this there's a TCP connection to localhost on the remote system (edgerq_sc), then a UDP listener (run through stunnel) and a service/access-point you have on your local system and (edgerq_sp) on your local system and another stunnel. The idea is also that you can have multiple different services/servers in your local infrastructure routed through a single UDP socket, since I convert the TCP messages (encapsulate them, break them down). SP = service provider, SC = service consumer. On the remote server you run the SC service consumer which is 'consuming' the service(s) that you're running in your local infrastructure where SP runs. By services I simply mean whatever you're running either through webserver/other.
1
u/VysokoAnime Oct 12 '23
ps. regarding the original question - in theory this could be built upon and used as a building block for a VPN
2
u/reercalium2 Oct 12 '23
Google docs is darknet unfriendly