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

https://github.com/qbit/openbsd-router

Ansible playbooks to build an OpenBSD router
https://github.com/qbit/openbsd-router

Last synced: about 1 year ago
JSON representation

Ansible playbooks to build an OpenBSD router

Awesome Lists containing this project

README

          

openbsd-router
==============

A role to produce an OpenBSD router which supports the following:

- Arbitrary VLANs
- Split horizion DNS
- PF rulesets for various "knowns": Wifi calling, Apple Push notifications, Mumble

Requirements
------------

OpenBSD machine with two or more NICs

Role Variables
--------------

```
domain: example.com

name_servers: [
8.8.8.8,
8.8.4.4
]

network:
- {
name: "Primary",
type: vlan,
parent: "{{ ansible_interfaces[1] }}",
if_name: vlan1,
vlan_id: 1,
net: 10.0.1.0,
ip: 10.0.1.1,
broadcast: 10.0.1.255,
netmask: 255.255.255.0,
dhcp_start: 10.0.1.20,
dhcp_end: 10.0.1.250,
routers: [ 10.0.1.1 ],
static_ips: []
}
```

Example Playbook
----------------

- hosts: servers
roles:
- { role: qbit.router }

Author Information
------------------

Aaron Bieber