This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| deb13:haconfig [2026/09/12 15:01] – Bernard Condrau | deb13:haconfig [2026/09/12 15:16] (current) – [Powershell] Bernard Condrau | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== HAProxy Config Files ====== | ====== HAProxy Config Files ====== | ||
| ===== HAProxy ===== | ===== HAProxy ===== | ||
| - | ===== Installation ===== | + | < |
| - | < | + | |
| # 0. Settings | # 0. Settings | ||
| global | global | ||
| Line 104: | Line 103: | ||
| server epione 192.168.1.14: | server epione 192.168.1.14: | ||
| </ | </ | ||
| + | |||
| + | ===== Whitelist ===== | ||
| + | < | ||
| + | # Allow static addresses | ||
| + | 183.88.218.149 | ||
| + | 109.205.169.18 | ||
| + | # Allow dynamic addresses 'dig +short host.mydyndns.org' | ||
| + | 183.88.218.149 | ||
| + | </ | ||
| + | |||
| + | ===== Blacklist ===== | ||
| + | < | ||
| + | # Deny malicious IP addresses | ||
| + | 148.66.10.94 | ||
| + | 5.188.62.0/ | ||
| + | 54.39.29.64 | ||
| + | 185.185.134.115 | ||
| + | 185.46.46.0/ | ||
| + | </ | ||
| + | |||
| + | ===== Powershell ===== | ||
| + | < | ||
| + | # This is an example Powershell file for DuckDNS updater, see https:// | ||
| + | param($domain) | ||
| + | $duckdomain = if (!$domain) { " | ||
| + | $addr = curl.exe -s " | ||
| + | curl.exe -k " | ||
| + | </ | ||
| + | Use it with '' | ||