https://github.com/twilightcoders/iocage-plugin-dns_proxy
https://github.com/twilightcoders/iocage-plugin-dns_proxy
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/twilightcoders/iocage-plugin-dns_proxy
- Owner: TwilightCoders
- Created: 2020-12-09T16:47:15.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-10T05:29:54.000Z (over 5 years ago)
- Last Synced: 2025-01-12T11:20:42.347Z (over 1 year ago)
- Language: Shell
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# iocage-plugin-dns_proxy
## Install
iocage fetch -P dns_proxy.json ip4_addr="re0|192.168.0.100/24" -n dns_proxy vnet=off
## Configure
mount the following points in the jail
sudo iocage fstab -a dns_proxy /path/to/data/dns_proxy/letsencrypt /usr/local/etc/letsencrypt nullfs ro 0 0
sudo iocage fstab -a dns_proxy /path/to/data/dns_proxy/conf /usr/local/etc/nginx/conf.d nullfs ro 0 0
sudo certbot -a dns-plugin -i nginx -d "*.example.com" -d example.com --server https://acme-v02.api.letsencrypt.org/directory
certbot certonly --server https://acme-v02.api.letsencrypt.org/directory --webroot -w /var/www/letsencrypt -d *.example.com
## Development / Contribution
Fetch/install the jail using `--keep_jail_on_failure` flag.