https://github.com/coderobe/dsldsl
a router dsl
https://github.com/coderobe/dsldsl
Last synced: 10 months ago
JSON representation
a router dsl
- Host: GitHub
- URL: https://github.com/coderobe/dsldsl
- Owner: coderobe
- Created: 2018-05-01T03:11:39.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-26T16:55:08.000Z (over 7 years ago)
- Last Synced: 2025-01-26T11:44:28.199Z (12 months ago)
- Language: Shell
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DSLDSL
A DSL that compiles to iptables rules for less messy firewall router definitions
**You probably don't want to use this right now, though it does prove useful for my needs**
**Abandon hope all ye who enter here.**
Example:
`ROUTE EXT TCP PORT S_HTTP_TCP TO_WEB` routes the standard http tcp port to the machine 'web'
## Usage
- copy `rules.fw.example` to `rules.fw` and edit it to fit your needs
- copy `config.in.example` to `config.in` and edit it to fill in the options
- create/edit the data sources in data.d (or don't)
- mark the target data.d files executable (some are disabled by default)
- `make` / `make install`