# IPv4 Proxy

This project aims to serve those without an IPv6 ISP by forwarding IPv4 requests to the
correct destination. This is accomplished by SSL preread and port mapping. This service
is intended only for publicly accessible services.

## DDNS

This project pairs with the ddns service. Set that up first!

## Updating IPv4 Proxy Records

1. In `ddns` create a new record in the `reeseapps_record_template.json`
2. Apply the new record with ansible
3. Update `vars.yaml` in this project
4. Run the following ansible script:

```bash
ansible-playbook -i ansible/inventory.yaml systemd/graduated/ipv4-proxy/nginx.yaml
```

## Logging

You can tail all the nginx logs with `ssh yellow 'tail -f /var/log/nginx/*.log'`
