Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tpltnt/tahoe2pf
Generate (OpenBSD) pf rules from Tahoe-LAFS configuration
https://github.com/tpltnt/tahoe2pf
firewall packetfilter pf tahoe tahoe-lafs
Last synced: 21 days ago
JSON representation
Generate (OpenBSD) pf rules from Tahoe-LAFS configuration
- Host: GitHub
- URL: https://github.com/tpltnt/tahoe2pf
- Owner: tpltnt
- License: agpl-3.0
- Created: 2017-06-04T22:57:18.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-10T21:18:22.000Z (over 7 years ago)
- Last Synced: 2024-11-22T12:36:18.344Z (3 months ago)
- Topics: firewall, packetfilter, pf, tahoe, tahoe-lafs
- Language: Python
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tahoe2pf
Generate (OpenBSD) pf rules from Tahoe-LAFS configuration. This tool should make
running Tahoe-LAFS nodes inside FreeBSD jails a bit more convenient. It assumes
to be run *inside* the Tahoe-LAFS jail and that the external /NATed interface is
stored in "$ext_if" as it is often the case.
Example run:
```
./tahoe2pf tahoe.cfg
# port redirection to tahoe node
rdr pass on $ext_if inet proto tcp to port 41304 -> 192.168.23.42 port 41304
```# references
* [FreeBSD handbook Chapter 14: Jails](https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html)
* [FreeBSD handbook Chapter 29.3: PF](https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-pf.html)