Jump to content

Network connection problems to docker containers using Wireguard


Recommended Posts

Posted (edited)

Hello everyone!

 

I am facing network issues with the web interface of some docker containers. For these docker containers I am using a Wireguard VPN, configured under settings in Unraid using the option “Remote tunneled access for docker”. The docker containers are on this custom Wireguard network (wg0) and are mapped to the local subnet (for example 127.2.2.1:8080 to 192.168.174.20:8080) the local ip from the Unraid server is 192.168.174.20. Everything works fine as long as I am on my local network. 

 

But when I am outside of my local network, connecting to my Router using another Wireguard connection, I have no access to the web interfaces of the docker containers which using the Unraid wg0 Wireguard setup. The access to web interfaces such Unraid itself or other docker container is working fine. 

 

I think it’s because my ISP router puts me on a different ip subnet (20.23.23.2) when I am connecting from outside. The router doesn’t give me any option to change that. 

 

What can I do to get remote access to these web interfaces? Setting up some routingtabelle or a gateway etc. in Unraid?  

 

Ipanemax

Edited by IpanemaX

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...