Git Product home page Git Product logo

hans's Introduction

Hans - IP over ICMP

Hans makes it possible to tunnel IPv4 through ICMP echo packets, so you could call it a ping tunnel. This can be useful when you find yourself in the situation that your Internet access is firewalled, but pings are allowed.

http://code.gerade.org/hans/

new versions: https://sourceforge.net/projects/hanstunnel/files/source/

use for compile:

sudo apt install make gcc g++ net-tools
cd hans-1.1
make
sudo cp ./hans /usr/sbin/hans

for create SERVER use:

nano /etc/systemd/system/hans.service

insert

[Unit]
Description=Hans IP over ICMP Server
After=network.target

[Service]
ExecStart=/usr/sbin/hans -s 10.2.2.0 -p you-secret-password -d tun0 -a 10.2.2.1
Restart=always
User=root
Group=root
RestartSec=3
PIDFile=/var/run/hans.pid


[Install]
WantedBy=default.target

and add you service:

sudo systemctl daemon-reload
sudo systemctl enable hans.service
sudo systemctl start hans.service

for create CLIENT use:

nano /etc/systemd/system/hans.service

insert

[Unit]
Description=Hans IP over ICMP Client
After=network.target

[Service]
ExecStart=/usr/sbin/hans -c you-server.com -p you-secret-password -d tun100 -a 10.2.2.100
Restart=always
User=root
Group=root
RestartSec=3
PIDFile=/var/run/hans.pid


[Install]
WantedBy=default.target

and add you service:

sudo systemctl daemon-reload
sudo systemctl enable hans.service
sudo systemctl start hans.service

hans's People

Contributors

friedrich avatar sypper-pit avatar unkernet avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.