10.23.0.0/24 : Homelab10.100.0.0/24: Wireguard Tunel10.90.0.0/24 : Dedicated server
Interface: WAN...Destination: 178.xx.251.xx (My second public configured as Virtual IP)Dest ports: 80,443Redirect target IP: 10.23.0.36 (My HAProxy on my Homelab network)...
I have created a NAT rule on the WAN address in my dedicated server:
Try to add a SNAT Rule on the dedicated to be inside the 10.90.0.0/24, if this net is included in the wireguard tunnel, it should work. Because now it seems that the public client ip from the request goes into the tunnel. You have to translate the request into something "private" which is included in the tunnel.
Interface: WGS2SSource address: ! 10.90.0.0/24, 10.101.0.0/24 (Another VPN tunnel for clients)Destination: 10.23.0.36/32