Project

General

Profile

Common operations on IPv4-to-IPv6-Proxy » History » Version 5

Dominique Roux, 02/01/2021 09:38 AM

1 1 Timothée Floure
h1. Common operations on IPv4-to-IPv6-Proxy
2
3
{{toc}}
4
5
*%{color:red}This document only concerns operations by ungleich staff. See [[How to use the IPv4-to-IPv6-Proxy]] page for user documentation.%*
6
7
h2. Status
8
9 5 Dominique Roux
This document is *IN PRODUCTION*.
10 1 Timothée Floure
11
h2. HTTP / HTTPS proxying.
12
13
* It's configured by cdist, type @__ungleich_haproxy@
14
* To add a domain, edit manifest/ungleich
15 4 Nico Schottelius
** Find *either* ipv6-proxy.place5.ungleich.ch *OR* ipv6-proxy.place6.ungleich.ch
16 1 Timothée Floure
** Verify that the domain has an AAAA entry
17
** Add the domain using the "--v4proxy DOMAIN" parameter
18 4 Nico Schottelius
** Commit in git, push
19 5 Dominique Roux
* Run cdist:
20
** @cdist config ipv6-proxy.place5.ungleich.ch ipv6-proxy.place6.ungleich.ch@
21 1 Timothée Floure
22
h3. Troubleshooting
23
24
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.
25 2 Timothée Floure
26
h2. SMTP proxying (experimental)
27
28
* Configured by cdist, type @__ungleich_smtp_proxy@.
29
* To add an entry, edit @manifest/ungleich@.
30
** Find configuration entry for @ipv6-mx.ungleich.ch@.
31 3 Timothée Floure
** Add @--proxy domain.tld@ entry to the @__ungleich_smtp_proxy@ type. Make sure that @ipv6-mx.ungleich.ch@ is not the primary MX of @domain.tld@:t we will have routing loops if it is the case.
32 2 Timothée Floure
** Commit, push.
33
* Deploy with @cdist config -v ipv6-mx.ungleich.ch@.
34
35
h3. Troubleshooting
36
37
Postfix's logs can be found in @/var/log/messages@ on @ipv6-mx.ungleich.ch@.