An OpenBSD based router setup powered by Ansible.
 
 
 
Go to file
eaon 520772026c
Add UPnP/NAT-PMP support, static-port NATing, and DuckDNS
Also port ranges for incoming redirects/port forwards.
2020-03-29 09:33:24 -04:00
bin Script to list DHCP leases 2019-05-10 18:35:34 -04:00
filter_plugins Splitting tasks in managable pieces, add bootstrap playbook 2019-05-15 14:40:11 -04:00
tasks Add UPnP/NAT-PMP support, static-port NATing, and DuckDNS 2020-03-29 09:33:24 -04:00
templates Add UPnP/NAT-PMP support, static-port NATing, and DuckDNS 2020-03-29 09:33:24 -04:00
vars Make ap-basement use more reliable hardware 2020-02-14 12:52:09 -05:00
.gitignore Adding henet tunnel endpoint update bits (also small fixes) 2019-05-16 15:12:43 -04:00
CHANGES Forgot some configs plus easy access to CHANGES 2019-05-11 22:25:15 -04:00
README A lot of fixes and shit. 2019-05-20 01:40:41 -04:00
ansible.cfg Setting up DHCPD with templates and variables 2019-05-14 17:15:39 -04:00
bootstrap.yaml Add UPnP/NAT-PMP support, static-port NATing, and DuckDNS 2020-03-29 09:33:24 -04:00
foo.yaml Add UPnP/NAT-PMP support, static-port NATing, and DuckDNS 2020-03-29 09:33:24 -04:00
hosts A lot of fixes and shit. 2019-05-20 01:40:41 -04:00
mac2eui64_test.yaml Make mac2eui64 compatible with ipmath, also switching static_hosts to use dict instead of lists 2019-05-13 23:23:03 -04:00

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