-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Description
Instead of configuring the server with a fixed destination address with -r, it would be really useful if the client could tell the server which destination it wants, and the server would store this on a per client basis (e.g. by source IP - like NAT).
So instead of having the current situation:
# Client
sudo udp2raw -c -a -l $DUMMY_WIREGUARD_PEER -r $REMOTE:$RPORT -k $KEY --raw-mode faketcp &
# Server
sudo udp2raw -s -l0.0.0.0:$OPEN_LISTEN_PORT -r $REAL_WIREGUARD_PEER -k $KEY --raw-mode faketcp -aWhere all connections are routed to the same -r destination on the udp2raw server, one could do:
# Client
sudo udp2raw -c -a -l $DUMMY_WIREGUARD_PEER -r $REMOTE:$RPORT -k $KEY --raw-mode faketcp --destination $REAL_WIREGUARD_PEER &
# Server
sudo udp2raw -s -l0.0.0.0:$OPEN_LISTEN_PORT -k $KEY --raw-mode faketcp -aWhere the server -r is now specified as --destination on the client.
So multiple clients could tunnel via the same udp2raw server simultaneously, but to different actual Wireguard endpoints.
The udp2raw client would need to send this desired destination address to the server when it first establishes the connection.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels