shaksiwnl Posted January 18, 2021 Share Posted January 18, 2021 Hey peeps. Question about swag and using a vpn container. Right now I have a vpn container I feed deluge and nzbget through and is a custom docker network. I also have a custom network for swag. (*arr's, nextcloud). Is it possible to route that vpn traffic through swag as well so I can add it to my organizr? Heres how my networks are configured right now: For example I can change the deluge VPN container to my proxy net and it will pass through correctly to swag. But how can I get NZBget to passthrough as well (but stay on the vpn network?). Quote Link to comment
shaksiwnl Posted February 15, 2021 Author Share Posted February 15, 2021 Figured this out in case anyone comes by this: Create custom docker network of the vpn container (ie: docker network create container:binhex-delugevpn) Delete ports from containers you want passed through to the container and then add ports to the VPN container Change passed through containers to the new network. Going into your proxy-confs folder and find each config file you have of the passes through containers. IE Sonarr: Find the line that says " set $upstream_app sonarr " Change it to set $upstream_app binhex-delugevpn (your vpn container) You may have to do it in two locations in the config. Restart swag Click on your passed through container and run a curl ifconfig.io and see if it's the VPN IP If your domain resolves you did everything correct 1 Quote Link to comment
Skylinar Posted July 22, 2021 Share Posted July 22, 2021 Thanks for you insights, helped me! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.