srepper Posted February 4 Share Posted February 4 Hey community, For getting access to my homelab I am using wireguard. Wireguard is installed on my OPNsense router. Sadly, I have a few of docker who using VPN. All of them are unable to connect. I have an access to the bridge dockers (192.168.1.x), but not to the "sabnzbd-vpn" (192.168.1.14:8080) docker. How can I access the VPN-docker from outside? Setup: - OPNsense ( + wireguard ) 192.168.1.9 - Unraid ( VPN-docker ) 192.168.1.2 - Wireguard Network: 10.0.0.0/24 Configuration: Settings -> Docker -> Host access to custom networks: enabled Settings -> Docker -> Pv4 custom network on interface br0: Subnet: 192.168.1.0/24 Gateway: 192.168.1.9 DHCP pool: not set Settings -> Networks (Added with following command $: route add -net 10.0.0.0/24 gw 192.168.1.1 ) I am lost. A few forums and AI's told me I have to set routes (show the picture above ). But I don't understand how. The AI say me following stuff: For OPNsense, you would add a static route as follows: Navigate to System > Routes > Configuration in the OPNsense web interface. Add a New Route: Click on the "+" button to add a new route. Configure the Route: Enter the destination network (e.g., 192.168.1.0/24 for the Unraid server network) and select the WireGuard interface as the gateway Apply Changes: Save the configuration and apply the changes. But I have not a wireguard interface at the gateway- best wishes ( please help 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.