Sign inSign up

stormotron/narnia

By stormotron

•Updated 4 months ago

Narnia creates an encrypted tunnel (ChaCha20) via ICMP (ping) without fragmentation

Image
Networking
0

737

stormotron/narnia repository overview

⁠Narnia Tunnel version 0.0.3

Copyright (c) Netstorm, 2026

So, do you want an encrypted Ethernet tunnel over ICMP without fragmentation? It's FREE!

Narnia program (Freeware) creates an encrypted tunnel (ChaCha20) via ICMP (ping) without fragmentation. That is, the TAP interface created by the tunnel will support any MTU - 1500 and even 9000 regardless of the transport layer, the packets are assembled by the tunnel itself.

ParameterBinaryDocker envMandatoryDefault value
TAP interface name-iINTERFACEYesnone
Remote IP address-rREMOTE_IPNonone
Server listen IP address-lSERVERNo0.0.0.0
Secret password-sPASSWORDYesnone
MAC address for TAP-mMACNorandom unicast
Keepalive, seconds-kKEEPALIVENo5
Link quality-qLINK_QUALITYNonone
Ban quality-xBAN_QUALITYNonone
Operating mode-oOPERATING_MODENonone
Bandwidth limit-bBANDWIDTH_LIMITNoNone
MTU-tMTUNoNone

Basic example:

# docker run --cap-add=NET_ADMIN --device /dev/net/tun:/dev/net/tun --net=host -e INTERFACE=nvpn -e REMOTE_IP=8.8.8.8 -e PASSWORD=MyKey --name narnia -d stormotron/narnia:latest
# docker run --cap-add=NET_ADMIN --device /dev/net/tun:/dev/net/tun --net=host -e INTERFACE=nvpn -e SERVER=0.0.0.0 -e PASSWORD=MyKey --name narnia -d stormotron/narnia:latest

Operating mode examples:

-o bridge:bridge1:bridge2
-o bridge:bridge1:bridge2:15:12
-o ip:30:192.168.0.1:192.168.0.2:dynamic:50
-o ip:30:192.168.0.1:192.168.0.2:static:50

Iperf testing

# iperf -c 192.168.0.1
------------------------------------------------------------
Client connecting to 192.168.0.1, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[  1] local 192.168.0.2 port 54852 connected with 192.168.0.1 port 5001 (icwnd/mss/irtt=14/1448/1727)
[ ID] Interval       Transfer     Bandwidth
[  1] 0.0000-10.0985 sec  65.4 MBytes  54.3 Mbits/sec

# iperf -c 192.168.0.1 -R
------------------------------------------------------------
Client connecting to 192.168.0.1, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[  1] local 192.168.0.2 port 52778 connected with 192.168.0.1 port 5001 (reverse) (icwnd/mss/irtt=14/1448/1623)
[ ID] Interval       Transfer     Bandwidth
[ *1] 0.0000-10.0884 sec  75.8 MBytes  63.0 Mbits/sec

Licensing

The program is absolutely free and does not require any registration. The program is distributed only as binary files.

Contacts

Telegram: el_stormi

Tag summary

Content type

Image

Digest

sha256:807b5ab51…

Size

5.8 MB

Last updated

4 months ago

docker pull stormotron/narnia