onioncat icon indicating copy to clipboard operation
onioncat copied to clipboard

IPv4 tunneling

Open rahra opened this issue 5 years ago • 7 comments

How to tunnel IPv4 through OnionCat? (HOWTO request)

rahra avatar May 14 '20 06:05 rahra

Isn't it much better to use IPV6 instead of IPV4? Also, I'm wondering if there is anyway to implement Nymtech's Nym which is mostly used in the case of decryption attempts?

NiKola-UE avatar May 28 '24 21:05 NiKola-UE

"Better" is probably not the right term. If somebody has an existing IPv4 infrastructure without IPv6 but wants to tunnel the traffic through OnionCat then he needs to setup IPv4 in IPv6 tunneling. This basically isn't a big deal on Linux. The Kernel supports it by default since ages. I put this issue here to remind me just to write a HOWTO.

And I haven't heard of Nym before now. I had a brief look at the repository but didn't get the point yet. Not sure how it works. I'll have to read more about it.

rahra avatar Jun 01 '24 09:06 rahra

I'm a Windows user, and things are much different there. The authors of N3N Edge also discuss this, but it is clear that the network is something else entirely.

Nym has yet to be verified to work, which won't be easy as there are no system files to download yet.

In the meantime, I discovered that the authors of the Tor Project have created something called Arti, , which I don't think is for us non-programmers. I'm not sure if OnionCat can get any use out of it.

NiKola-UE avatar Jun 01 '24 19:06 NiKola-UE

Well, Windows is not known for its network capabilities ;) But you can run Tor and OnionCat in a VMs and connect to it through a shared network interface from your Windows system.

Arti is a Tor client implemented in Rust (instead of C).

rahra avatar Jun 03 '24 10:06 rahra

Isn't it much better to use IPV6 instead of IPV4? Also, I'm wondering if there is anyway to implement Nymtech's Nym which is mostly used in the case of decryption attempts?

As far as I could find out, NYM does not support "hidden services". I.e. OnionCat cannot be attached to it, as it is possible with Tor or I2P.

rahra avatar Jun 03 '24 11:06 rahra

Nym seems to be still quite limited even though I'm still developing, while for example Freenet and Lokinet are something else entirely. For GNUnet, I don't know how it works because the architecture seems too complex and in an early stage of development.

On the other side, the Arti was recently released, so I don't know what to expect from it. And speaking of hidden Onion services, what do you think if Tor could somehow be adapted to the upcoming Web3, i.e. will any decentralization of Tor's architecture be possible in the future and how would that affect the OnionCat? Also, although this no related to this issue, I'm wondering why the official OnionCat site is still down and does OnionCat's source code can somehow be used for some decentralized encrypted chat applications (like Tox, TryQuiet, CWTCH, etc.) or some Windows-only apps like OnionFruit™ Connect, , ProxAllium (which is not updated) or Tor-Control-panel (which not works as a solo and can be complicated for understanding) to implement something from it, which I've been really interest with lately?

Just to note: @Basil-001 has some very interesting repositories (some of them related to the Tor protocol), but nothing has been updated for a long time and he doesn't respond to any messages or queries; which, of course, has nothing to do with you and your works, but there may still be some Tor-based interesting applications for Windows...

Back to the discussion: As you already well know, there is already Cygwin for Windows, while for Linux it can be complicated that there are more than twenty different independent distributions, not all of which are mutually compatible with each other; which, on the one hand, is of course perfectly fine and good, but on the other hand, it can make it difficult to create different versions of the same programs, install and configure them, etc. For Free and other BSDs, I really don't known nothing.

NiKola-UE avatar Jun 03 '24 14:06 NiKola-UE

Dear @Rahra,

I'm really sorry if I annoyed you with my persistent mention of various protocols and tools for anonymity and privacy, which, of course, cannot all be implemented in the same application. Yes, I only recently discovered that Phantom has been gone for over ten years, while ZeroNet is no longer being developed. There is something called ZeroNetIks, but I don't know how effective it is or how important it is here. Something called Kovri Rooter appeared in connection with I2P, but I don't know anything about that either. But to finally stop with all that: I think that the new version of OnionCat will bring some noticeable changes. As I said, the Tap Adapter can now be added to Windows 11 without a OpenVPN that I think can be directly implemented and replaced by something a little more decentralized...

And all in all, when you have a little more time and patience, you can finally write what this issue actually deals with, ie. IPV4 tunneling and, maibe, how to switch to IPV6. So much of me.

NiKola-UE avatar Jun 19 '24 21:06 NiKola-UE