Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/h4sh5/greu
GRE Over UDP tunnel (works on both BSD and Linux)
https://github.com/h4sh5/greu
Last synced: about 1 month ago
JSON representation
GRE Over UDP tunnel (works on both BSD and Linux)
- Host: GitHub
- URL: https://github.com/h4sh5/greu
- Owner: h4sh5
- Created: 2020-05-01T14:18:50.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-04-28T05:00:23.000Z (7 months ago)
- Last Synced: 2024-04-28T07:14:17.420Z (7 months ago)
- Language: C
- Size: 22.5 KB
- Stars: 7
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# greu
GRE Tunnel over UDP
Prerequisites for linux:
`apt install libevent-dev make -y`
To compile:
```
./configure
make
```This program can act both as a server and as a client, and can establish ETH (tap) or IP (tun) links between unix machines.
It doesn't work on OSX or Windows, due to the way it interacts with network drivers (tuntap).It can create a VPN-like environment. It's like a basic implementation of RFC 8086 (https://tools.ietf.org/html/rfc8086)
## Usage
### Linux usage
Server mode with TAP (the generated encryption key will be printed to terminal):
```
sudo ./greu -e tap0 -l 0.0.0.0
```Client mode with TAP:
```
./greu -e tap0 -K server_ip
```