Skip to content

outbound_addr is not applied #346

Open
@gptlang

Description

@gptlang

I have 2 wireguard connections:

  • wg0 is created by network manager and all traffic on the device goes through it.
  • I create wg1 with the following config:
[Interface]
PrivateKey = xxx
Address = xxx
Table = off

[Peer]
PublicKey = xxx
AllowedIPs = 0.0.0.0/0,::0/0
Endpoint = xxx

curl ifconfig.me --interface wg1 works nicely and gives me the correct IP address. I then create a podman container with --network slirp4netns :enable_ipv6=false,outbound_addr=wg1

Inside the container, I run curl ifconfig.me. This returns the IP address of wg0.

Possibly related: #267. I have a feeling this is a routing issue but I'm unsure of how to debug/fix it

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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