tinyfecVPN icon indicating copy to clipboard operation
tinyfecVPN copied to clipboard

2 clients 1 server?

Open syadnom opened this issue 7 years ago • 2 comments

Is it possible to have 2 clients connect to 1 server? I'm using this connection string: ./tinyvpn_amd64 -c -rServerIP:4096 -f20:20 -k "passwd" --sub-net 10.1.0.0 --keep-reconnect --mode 1

The server gets ip 10.1.0.1 The first client gets 10.1.0.2 The second client also gets 10.1.0.2

The server then shows alternating 'new connection from' with each client's IP address. I don't see an option to set the IP address in the server or client.

syadnom avatar Aug 24 '18 22:08 syadnom

I can run 2 separate instances on different ports, but this is a bit tedious to setup for many clients.

I'm testing this specifically to resolve dropped or late packets for remote PBX and to handle lost packets when there is a re-route (ie, WAN > LTE switchover on WAN failure, a packet or two is dropped)

syadnom avatar Aug 24 '18 22:08 syadnom

Is it possible to have 2 clients connect to 1 server?

No, as it said in readme.md:

Currently one server supports only one client. For multiple clients, start multiple servers.

If you want to have multiple clients with 1 server, you can use UDPspeeder+ any other udp-base VPN you are familiar with (for example: OpenVPN, l2tp). UDPspeeder is the udp proxy version of tinyfecVPN, it will turn any existing udp-base vpn into a fec VPN.

wangyu- avatar Aug 25 '18 00:08 wangyu-