Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple clients in "outbound" mode #32

Open
ds-hystax opened this issue Nov 24, 2023 · 2 comments
Open

Multiple clients in "outbound" mode #32

ds-hystax opened this issue Nov 24, 2023 · 2 comments
Labels
feature request New feature or request

Comments

@ds-hystax
Copy link

Here is my setup:

  • A client: a mobile phone fully under NAT
  • A server: a container, under NAT as well, but with several ports exposed to the internet.

I was able to create a tunnel between them using the following commands:

# Generate server and client config
./wiretap configure --routes 0.0.0.0/0 --outbound --endpoint SERVER_IP:SERVER_PORT --simple

# Run server inside container
./wiretap serve -f wiretap_server.conf --simple --port SERVER_PORT

It works fine, but now I'm not sure how to add more clients to the same server: the config seems to accept only a single peer. Is it possible to have more clients in such setup? If not, is it possible to be implemented?

@luker983
Copy link
Collaborator

luker983 commented Jan 6, 2024

Hey, sorry this slipped under the radar.

When not using --simple mode you can add as many clients as you want with wiretap add client, but this requires two WireGuard interfaces on each client, which may be difficult to do on a mobile device.

We may consider supporting multiple clients in --simple mode, but I can't give you a timeline for that at the moment.

@luker983 luker983 added the feature request New feature or request label Jan 6, 2024
@ds-hystax
Copy link
Author

Got it, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants