Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)