ilteoood / docker-surfshark

Docker container with OpenVPN client preconfigured for SurfShark
MIT License
137 stars 34 forks source link

Unable to access local containers webui #79

Closed jayantkaul closed 10 months ago

jayantkaul commented 1 year ago

Hi there

I'm using the container as part of a portainer stack (attached) that also runs qbittorent and jackett. Over the last few days I've been unable to access the webui for these apps.

Could someone please give me some pointers? I haven't changed the scripts as such and I'm not sure why it stopped working.

Stack - no username.txt

jayantkaul commented 1 year ago

I should add my local machine's IP is 192.168.0.199, so I've tried with Lan Network set to 192.168.0.0/24

RickeyWard commented 10 months ago

I have this issue too, no idea why it sometimes doesn't work

ilteoood commented 10 months ago

Could you provide more details so I can help you?

RickeyWard commented 10 months ago

It has something to do with the kill_switch functionality. instead of preventing my containers from reaching the internet it prevents them from being reached (they can still reach the internet as viewed from their logs) and the surfshark vpn log shows its successfully connected. I have lan network configured to match my local subnet 192.168.0.0/16. Restarting the stack a few times usually fixes it for a couple hours but then it dies again. (note that if I don't use ENABLE_KILL_SWTICH then my containers will leak out to internet unprotected until the vpn connects.

ilteoood commented 10 months ago

Do you have a script or a compose file to paste here?

RickeyWard commented 10 months ago

Upgrading to 1.7.2 from 1.7.0 seems to have fixed the issue where I lose connectivity from LAN. Thanks.