IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

24 lines
433B

  1. variables:
  2. ext_if: em0
  3. gateway_ip: 127.0.0.2
  4. defaults:
  5. jail:
  6. mount.devfs: true
  7. interface: lo1
  8. exec.start: /bin/sh /etc/rc
  9. exec.stop: /bin/sh /etc/rc.shutdown
  10. pf: |
  11. rdr on $(ext_if) proto tcp from any to any port 80 -> $(jail_ip)
  12. services:
  13. gateway:
  14. image: freebsd-12.1
  15. jail:
  16. ip4.address: $(gateway_ip)
  17. pf:
  18. - pass on $(ext_if)
  19. volumes:
  20. gateway-data: {}