i have a vpn docker container, (misioslav/surfshark) it works perfectly but I would like to know how to connect a vm to this docker so that its network traffic goes through the vpn.
cara i try to connect my vm on the same network as the vpn and set the ip of the vpn as gateway in my vm but it does not work …
Read the doku of the image on dockerhub and check wether it provides something like a http or proxy proxy. This is a problem directly related to the image. Worst case: ask the maintainer