Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Web Proxy Filtering and Caching
(Moderator:
fabian
) »
[HAProxy] Use real server in different subnet(ipsec vpn)
« previous
next »
Print
Pages: [
1
]
Author
Topic: [HAProxy] Use real server in different subnet(ipsec vpn) (Read 1403 times)
r4nc0r
Newbie
Posts: 4
Karma: 0
[HAProxy] Use real server in different subnet(ipsec vpn)
«
on:
March 23, 2022, 05:50:25 pm »
Hi,
I have two sites, each with a Opnsense Router. These two sites are connected with a Site2Site Ipsec Tunnel.
Site 1: 10.30.0.0/16
Site 2: 10.40.0.0/16
If I configure a HaProxy real server (on the opnsense site 1) which is located at site 2, the HaProxy cannot reach it, because it uses the default WAN IpAddress to reach it.
So I set the source address for this real server to 10.30.0.x. Then HaProxy can reach the server on site 2!
But now I get the following error every few Minutes:
Code:
[Select]
Connect() failed for backend xxxx: local address already in use.
Can somebody help me?
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Web Proxy Filtering and Caching
(Moderator:
fabian
) »
[HAProxy] Use real server in different subnet(ipsec vpn)