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!
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

focker-compose.yml 433B

1234567891011121314151617181920212223
  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: {}