December 2, 20187 yr I have setup my squid-proxy container to connect to my VPN by using the extra parameter: --net="container:vpn" In combination with Network-type: none, to make sure no data leaks to the public connection outside of the VPN. Which works absolutely great, but one issue I've run into is that if, for whatever reason, I need to restart my VPN container the connection won't be re-established between these containers. I'll have to make sure to restart the squid-proxy container after this as well. And if both are stopped, I need to make sure that the VPN container is started before the squid-proxy container is started in order for the connection to be established. Not being very experienced with docker, I'm wondering if there is a better way of doing this. Or perhaps a way of doing the same thing, where the connection will be automatically re-established if it detects that the container has started again. Edited December 2, 20187 yr by xorinzor
December 19, 20187 yr Author Quite busy lately and forgot about this topic. It's still very much an issue and would really like some advice.
Archived
This topic is now archived and is closed to further replies.