Project

General

Profile

Actions

Common operations on IPv4-to-IPv6-Proxy » History » Revision 2

« Previous | Revision 2/5 (diff) | Next »
Timothée Floure, 02/20/2020 02:47 PM
Add SMTP entry


Common operations on IPv4-to-IPv6-Proxy

This document only concerns operations by ungleich staff. See How to use the IPv4-to-IPv6-Proxy page for user documentation.

Status

This document is IN PRODUCTION.

HTTP / HTTPS proxying.

  • It's configured by cdist, type __ungleich_haproxy
  • To add a domain, edit manifest/ungleich
    • Find ipv6-proxy.ungleich.ch
    • Verify that the domain has an AAAA entry
    • Add the domain using the "--v4proxy DOMAIN" parameter
    • Commit in git, push
  • Run cdist: cdist config ipv6-proxy.ungleich.ch

Troubleshooting

If the customer domain does not exist (anymore), haproxy will refuse to reload. In this case the customer domain has to be removed and the customer to be notified.

SMTP proxying (experimental)

  • Configured by cdist, type __ungleich_smtp_proxy.
  • To add an entry, edit manifest/ungleich.
    • Find configuration entry for ipv6-mx.ungleich.ch.
    • Add --proxy mail-domain.tld,mail-server.tld entry to the __ungleich_smtp_proxy type.
    • Commit, push.
  • Deploy with cdist config -v ipv6-mx.ungleich.ch.

Troubleshooting

Postfix's logs can be found in /var/log/messages on ipv6-mx.ungleich.ch.

Updated by Timothée Floure almost 5 years ago · 2 revisions