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
- Host: GitHub
- URL: https://github.com/qbit/openbsd-router
- Owner: qbit
- License: isc
- Created: 2018-07-16T13:07:09.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-04-08T22:08:36.000Z (about 7 years ago)
- Last Synced: 2025-03-27T20:41:14.504Z (about 1 year ago)
- Language: Shell
- Size: 47.9 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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