No description
Find a file
2024-08-07 14:25:44 +00:00
configure_NAT_from_RULES forgot to close case 2024-03-10 20:13:04 +00:00
haproxy.cfg HAProxy for HTTP and HTTPS (except HTTPS UDP) 2024-08-07 14:25:44 +00:00
NAT_2_fastlight HAProxy for HTTP and HTTPS (except HTTPS UDP) 2024-08-07 14:25:44 +00:00
NAT_2_monsieurlouis first commit 2024-02-06 23:21:45 +00:00
NAT_2_norrsken HAProxy for HTTP and HTTPS (except HTTPS UDP) 2024-08-07 14:25:44 +00:00
README.md HAProxy for HTTP and HTTPS (except HTTPS UDP) 2024-08-07 14:25:44 +00:00

HAProxy Rules for the Fixed IPv4 Provider

In case I don't have a fixed IPv4 address, I use these rules to route the services through a fixed IPv4 provider like Oracle Cloud.

Pre-Requesites

  • Install HAProxy on the server : sudo dnf install -y haproxy
  • Copy the configuration file: sudo cp /home/opc/bin/NAT/haproxy.cfg /etc/haproxy/haproxy.cfg
  • Enable the service: sudo systemctl enable --now haproxy
  • Open the ad-hoc ports (bound from haproxy.cfg) in the firewall, for instance: sudo firewall-cmd --add-port=80/tcp --permanent

IP Addresses in Use

Public IP (Oracle) Internal IP (Oracle) Wireguard client IP Description
129.151.211.229 10.0.0.104 10.0.100.10 fastlight (Hostux FR)
129.151.214.116 10.0.0.143 10.0.100.20 norrsken (Hostux SE)