Skip to content

Dockers don't have internet access while being connected to WireGuard VPN #5350

Description

@ERKO901

Current Behavior

I have set up WireGuard server on OVH VPS because of its antiddos and when I connect to it from my ubuntu server everything except the dockers work, such as ssh or https. I can normally connect to panel and manage servers but when I try to start them and there is some task that needs internet connection it throws error.
Here is my WireGuard Configuration on ubuntu server where the panel is hosted

Address = 10.1.1.2/24
PrivateKey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
MTU = 1420

[Peer]
PublicKey = xxxxxxxxxxxxxxxxxxxxxxxxxxx
Endpoint = xxxxxxxxxxxxxxxxxxxxxx:51820
AllowedIPs = 0.0.0.0/0
PersistentKeepalive = 25

and here is the OVH VPS config

Address = 10.1.1.1/24
ListenPort = 51820
PrivateKey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

[Peer]
PublicKey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
AllowedIPs = 10.1.1.2/32```

### Expected Behavior

I expect the docker to successfully connect to internet.

### Steps to Reproduce

Connect to WireGuard tunnel.

### Panel Version

1.11.10

### Wings Version

1.11.13

### Games and/or Eggs Affected

_No response_

### Docker Image

_No response_

### Error Logs

```bash

Is there an existing issue for this?

  • I have searched the existing issues before opening this issue.
  • I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server.
  • I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions