An OpenBSD based router setup powered by Ansible.
You cannot 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 520772026c
Add UPnP/NAT-PMP support, static-port NATing, and DuckDNS
Also port ranges for incoming redirects/port forwards.
3 years ago
bin Script to list DHCP leases 4 years ago
filter_plugins Splitting tasks in managable pieces, add bootstrap playbook 4 years ago
tasks Add UPnP/NAT-PMP support, static-port NATing, and DuckDNS 3 years ago
templates Add UPnP/NAT-PMP support, static-port NATing, and DuckDNS 3 years ago
vars Make ap-basement use more reliable hardware 3 years ago
.gitignore Adding henet tunnel endpoint update bits (also small fixes) 4 years ago
CHANGES Forgot some configs plus easy access to CHANGES 4 years ago
README A lot of fixes and shit. 4 years ago
ansible.cfg Setting up DHCPD with templates and variables 4 years ago
bootstrap.yaml Add UPnP/NAT-PMP support, static-port NATing, and DuckDNS 3 years ago
foo.yaml Add UPnP/NAT-PMP support, static-port NATing, and DuckDNS 3 years ago
hosts A lot of fixes and shit. 4 years ago
mac2eui64_test.yaml Make mac2eui64 compatible with ipmath, also switching static_hosts to use dict instead of lists 4 years 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