https://github.com/jayme-github/pyflop
Create SSH tunnels using dummy interfaces
https://github.com/jayme-github/pyflop
Last synced: 5 months ago
JSON representation
Create SSH tunnels using dummy interfaces
- Host: GitHub
- URL: https://github.com/jayme-github/pyflop
- Owner: jayme-github
- License: gpl-3.0
- Created: 2024-08-15T08:27:49.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-20T08:52:10.000Z (over 1 year ago)
- Last Synced: 2024-12-20T09:32:02.727Z (over 1 year ago)
- Language: Python
- Size: 19.5 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ρυφλοπόντικας
pyflop creates SSH tunnels using dummy interfaces (so multiple tunnels may use the same port).
This is achieved by adding a dummy interface (`pyflopX`) with an IPv4 IP in the range `10.10.0.0/24` and SSH to create the actual tunnels.
It might be desired to allow users to bind to restricted ports to make this even more usable. You can either do this system wide:
```bash
echo 'net.ipv4.ip_unprivileged_port_start=0' > /etc/sysctl.d/50-unprivileged-ports.conf
sysctl --system
```
Or just allow SSH to bind to privileged ports:
```bash
setcap CAP_NET_BIND_SERVICE=+eip /your/ssh/binary
```