I have: 1. The Kubernetes network of pods available through OpenVPN (poday in the network 10.0.0.0 in the mask 255.0.0.0) 2. OpenVPN clients (clients in the network 10.240.0.0 in the mask 255.255.0.0) 3. In the container raised DBgp which listens to any connections on 9002
Problem: 1. When connecting to containers (for example, 10.96.117.17) on the Kubernetes network with a client (for example, 10.240.0.6), the DBgp sees the IP cube with OpenVPN (10.40.0.2) and sends the request when it debugs, but cannot continue working with it within debag session
i use https://hub.helm.sh/charts/stable/openvpn
iptables -t nat -A POSTROUTING -s 10.240.0.0/255.255.0.0 -o eth0 -j MASQUERADE
found a string that masks the client's ip, but without it the network does not work