tcp session reset every 30s on network accessible through openvpn

Started by mickaelmarin, February 06, 2022, 05:22:44 PM

Previous topic - Next topic
Hi,

I allready posted my problem in french section but if non french user can help me I will very happy to fix this issue.

I made a schema to explain that.

On the schema you can see I have 2 rasperry pi one in my local network 192.168.10.0/24 (raspi-a) and second in 192.168.5.0/24 (raspi-b)

All configurations is ok for haproxy, openvpn etc.... 

Only 1 issue  when I open the https://myraspy-b.com.

The homeassistant web interface answer ok but every 30s I see tcp [ack - rst] from 172.16.8.1.
the real server configured in haproxy for raspi-b is http://192.168.5.50:8123

FYI homeassistant  use websocket and every 30s homeassisant reopen websocket and the page refresh.

From my local network  192.168.10.0/24 with my pc I can open the http://192.168.5.50:8123 so I don't use haproxy and no page refresh it work fine

I haven't this issue with https://myraspi-a.com all work fine no refresh of page every 30s.


The only differences is in one case haproxy redirect to a local address directly in local network (192.168.10.0/24) and in other case it redirect in remote network can reach by vpn.

Excuse me for my english but the issue is not easy to explain.

 
thanks