Ansible-ized OpenBSD router configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
eaon 58a53f1372
Make ap-basement use more reliable hardware
1 week ago
bin Script to list DHCP leases 9 months ago
filter_plugins Splitting tasks in managable pieces, add bootstrap playbook 9 months ago
tasks Making foo compatible with less complex setups 1 week ago
templates Making foo compatible with less complex setups 1 week ago
vars Make ap-basement use more reliable hardware 1 week ago
.gitignore Adding henet tunnel endpoint update bits (also small fixes) 9 months ago
CHANGES Forgot some configs plus easy access to CHANGES 9 months ago
README A lot of fixes and shit. 9 months ago
ansible.cfg Setting up DHCPD with templates and variables 9 months ago
bootstrap.yaml Increase /tmp/ size to make syspatch(8) usable again 8 months ago
foo.yaml Allowing for sharing of port 80 7 months ago
hosts A lot of fixes and shit. 9 months ago
mac2eui64_test.yaml Make mac2eui64 compatible with ipmath, also switching static_hosts to use dict instead of lists 9 months ago

README

This contains Ansible playbooks for the `foo` router at Hack Manhattan.

Before `foo.yaml` is run:

1. Standard OpenBSD installation with everything except X sets. Remember to use `stty com0 115200` and `set tty com0` at the boot prompt.
2. DHCP client on interface `em0` and plug into uplink (we're going to install ports).
3. Set up root account and user account.
4. Allow root ssh connections with password (we have pf.conf entries that mitigate threats).
5. Configure `em3` with `192.168.8.1/24` and plug into your machine (manually assign yourself an appropriate IP to connect to it).
6. Set up an `~/.ssh/config` alias:
```
Host foo.hackmanhattan.com foo.hackmanhattan.com-bootstrap
Hostname 192.168.8.1
User root
```
7. Run `bootstrap.yaml` playbook