zehome / MLVPN

Multi-link VPN (ADSL/SDSL/xDSL/Network aggregation / bonding)
http://www.mlvpn.fr/
BSD 2-Clause "Simplified" License
523 stars 130 forks source link

if one server connected to two clients.. #136

Closed rishabhsingh2 closed 3 years ago

rishabhsingh2 commented 4 years ago

If one server connected to two clients server is connect to 1st client and getting this logs.

2020-08-21T08:01:48 [INFO/config] new password set 2020-08-21T08:01:48 [INFO/config] reorder_buffer_size changed from 0 to 64 2020-08-21T08:01:48 [INFO/config] adsl10 tunnel added 2020-08-21T08:01:48 [INFO] created interface `mlvpn0' 2020-08-21T08:01:48 [INFO] adsl10 bind to 192.168.7.38 2020-08-21T08:02:07 [INFO/protocol] adsl10 new connection -> 192.168.2.142:5081 2020-08-21T08:02:07 [INFO/protocol] adsl10 authenticated 2020-08-21T08:02:07 [INFO/protocol] adsl10 new connection -> 192.168.7.25:5080 2020-08-21T08:02:07 [INFO/protocol] adsl10 authenticated 2020-08-21T08:02:08 [INFO/protocol] adsl10 new connection -> 192.168.2.142:5081 2020-08-21T08:02:08 [INFO/protocol] adsl10 authenticated 2020-08-21T08:02:09 [INFO/protocol] adsl10 new connection -> 192.168.7.25:5080 2020-08-21T08:02:10 [INFO/protocol] adsl10 new connection -> 192.168.2.142:5081 2020-08-21T08:02:11 [INFO/protocol] adsl10 new connection -> 192.168.7.25:5080 2020-08-21T08:02:12 [INFO/protocol] adsl10 new connection -> 192.168.2.164:5083 2020-08-21T08:02:12 [INFO/protocol] adsl10 authenticated 2020-08-21T08:02:12 [INFO/protocol] adsl10 new connection -> 192.168.7.39:5082 2020-08-21T08:02:12 [INFO/protocol] adsl10 authenticated 2020-08-21T08:02:12 [INFO/protocol] adsl10 new connection -> 192.168.2.142:5081 2020-08-21T08:02:12 [INFO/protocol] adsl10 new connection -> 192.168.7.25:5080 2020-08-21T08:02:12 [INFO/protocol] adsl10 new connection -> 192.168.7.39:5082 2020-08-21T08:02:13 [INFO/protocol] adsl10 new connection -> 192.168.2.164:5083 2020-08-21T08:02:13 [INFO/protocol] adsl10 authenticated 2020-08-21T08:02:13 [INFO/protocol] adsl10 new connection -> 192.168.7.25:5080 2020-08-21T08:02:13 [INFO/protocol] adsl10 new connection -> 192.168.2.142:5081 2020-08-21T08:02:14 [INFO/protocol] adsl10 new connection -> 192.168.7.39:5082 2020-08-21T08:02:14 [INFO/protocol] adsl10 new connection -> 192.168.2.142:5081 2020-08-21T08:02:14 [INFO/protocol] adsl10 new connection -> 192.168.7.25:5080 2020-08-21T08:02:15 [INFO/protocol] adsl10 new connection -> 192.168.2.164:5083 2020-08-21T08:02:15 [INFO/protocol] adsl10 new connection -> 192.168.2.142:5081 2020-08-21T08:02:15 [INFO/protocol] adsl10 new connection -> 192.168.7.25:5080 2020-08-21T08:02:16 [INFO/protocol] adsl10 new connection -> 192.168.7.39:5082 2020-08-21T08:02:16 [INFO/protocol] adsl10 new connection -> 192.168.7.25:5080 2020-08-21T08:02:16 [INFO/protocol] adsl10 new connection -> 192.168.2.164:5083 2020-08-21T08:02:17 [INFO/protocol] adsl10 new connection -> 192.168.2.142:5081 2020-08-21T08:02:17 [INFO/protocol] adsl10 new connection -> 192.168.7.25:5080 2020-08-21T08:02:18 [INFO/protocol] adsl10 new connection -> 192.168.7.39:5082 2020-08-21T08:02:18 [INFO/protocol] adsl10 new connection -> 192.168.2.164:5083 2020-08-21T08:02:18 [INFO/protocol] adsl10 new connection -> 192.168.7.25:5080 2020-08-21T08:02:19 [INFO/protocol] adsl10 new connection -> 192.168.2.142:5081 2020-08-21T08:02:20 [INFO/protocol] adsl10 new connection -> 192.168.2.164:5083 2020-08-21T08:02:20 [INFO/protocol] adsl10 new connection -> 192.168.7.39:5082 2020-08-21T08:02:20 [INFO/protocol] adsl10 new connection -> 192.168.2.142:5081

this logs is getting continuously new connection to 1st and 2nd interface. why getting this type if any errors in configuration file thats why getting or another issue. same issue getting if run another terminal with server connect to 2nd client.

2020-08-21T08:47:47 [INFO/config] new password set 2020-08-21T08:47:47 [INFO/config] reorder_buffer_size changed from 0 to 64 2020-08-21T08:47:47 [INFO/config] adsl11 tunnel added 2020-08-21T08:47:47 [INFO] created interface `mlvpn1' 2020-08-21T08:47:47 [INFO] adsl11 bind to 192.168.7.38 2020-08-21T08:47:54 [INFO/protocol] adsl11 new connection -> 192.168.2.164:5083 2020-08-21T08:47:54 [INFO/protocol] adsl11 authenticated 2020-08-21T08:47:54 [INFO/protocol] adsl11 new connection -> 192.168.7.39:5082 2020-08-21T08:47:54 [INFO/protocol] adsl11 authenticated 2020-08-21T08:47:55 [INFO/protocol] adsl11 new connection -> 192.168.2.164:5083 2020-08-21T08:47:55 [INFO/protocol] adsl11 authenticated 2020-08-21T08:47:56 [INFO/protocol] adsl11 new connection -> 192.168.7.39:5082 2020-08-21T08:47:57 [INFO/protocol] adsl11 new connection -> 192.168.2.164:5083 2020-08-21T08:47:58 [INFO/protocol] adsl11 new connection -> 192.168.7.39:5082 2020-08-21T08:47:58 [INFO/protocol] adsl11 new connection -> 192.168.2.164:5083 2020-08-21T08:47:59 [INFO/protocol] adsl11 new connection -> 192.168.7.39:5082 2020-08-21T08:48:01 [INFO/protocol] adsl11 new connection -> 192.168.2.164:5083 2020-08-21T08:48:01 [INFO/protocol] adsl11 new connection -> 192.168.7.39:5082 2020-08-21T08:48:02 [INFO/protocol] adsl11 new connection -> 192.168.2.164:5083 2020-08-21T08:48:02 [INFO/protocol] adsl11 new connection -> 192.168.7.39:5082 2020-08-21T08:48:03 [INFO/protocol] adsl11 new connection -> 192.168.2.164:5083 2020-08-21T08:48:04 [INFO/protocol] adsl11 new connection -> 192.168.7.39:5082 2020-08-21T08:48:05 [INFO/protocol] adsl11 new connection -> 192.168.2.164:5083 2020-08-21T08:48:05 [INFO/protocol] adsl11 new connection -> 192.168.7.39:5082 2020-08-21T08:48:07 [INFO/protocol] adsl11 new connection -> 192.168.2.164:5083 2020-08-21T08:48:08 [INFO/protocol] adsl11 new connection -> 192.168.7.39:5082 2020-08-21T08:48:09 [INFO/protocol] adsl11 new connection -> 192.168.2.164:5083 2020-08-21T08:48:10 [INFO/protocol] adsl11 new connection -> 192.168.7.39:5082 2020-08-21T08:48:11 [INFO/protocol] adsl11 new connection -> 192.168.2.164:5083 2020-08-21T08:48:11 [INFO/protocol] adsl11 new connection -> 192.168.7.39:5082 2020-08-21T08:48:13 [INFO/protocol] adsl11 new connection -> 192.168.2.164:5083 2020-08-21T08:48:13 [INFO/protocol] adsl11 new connection -> 192.168.7.39:5082 2020-08-21T08:48:15 [INFO/protocol] adsl11 new connection -> 192.168.2.164:5083 2020-08-21T08:48:17 [INFO/protocol] adsl11 new connection -> 192.168.7.39:5082 2020-08-21T08:48:18 [INFO/protocol] adsl11 new connection -> 192.168.2.164:5083 2020-08-21T08:48:19 [INFO/protocol] adsl11 new connection -> 192.168.7.39:5082 2020-08-21T08:48:20 [INFO/protocol] adsl11 new connection -> 192.168.2.164:5083 2020-08-21T08:48:20 [INFO/protocol] adsl11 new connection -> 192.168.7.39:5082 2020-08-21T08:48:21 [INFO/protocol] adsl11 new connection -> 192.168.2.164:5083 2020-08-21T08:48:23 [INFO/protocol] adsl11 new connection -> 192.168.7.39:5082 2020-08-21T08:48:24 [INFO/protocol] adsl11 new connection -> 192.168.2.164:5083 2020-08-21T08:48:25 [INFO/protocol] adsl11 new connection -> 192.168.7.39:5082 2020-08-21T08:48:26 [INFO/protocol] adsl11 new connection -> 192.168.2.164:5083 2020-08-21T08:48:27 [INFO/protocol] adsl11 new connection -> 192.168.7.39:5082

two interface created mlvpn0 and mlvpn1 with own IP . if run this command ps -ef |grep -i mlvpn shows root 2858 1012 0 14:17 pts/2 00:00:00 mlvpn: mlvpn [priv] mlvpn 2859 2858 0 14:17 pts/2 00:00:00 mlvpn: mlvpn @adsl10 root 2939 1941 0 14:17 pts/3 00:00:00 mlvpn: mlvpn [priv] mlvpn 2940 2939 0 14:17 pts/3 00:00:00 mlvpn: mlvpn @adsl11 ris 3014 740 0 14:18 pts/4 00:00:00 grep -i mlvpn this means adsl10 or adsl11 is up .

Ques. Why continue getting this types logs ? Ques. this type connection is possible or not ?
Ques. and i use only same server port in both client side. it is possible.

rutul039 commented 3 years ago

same type issue in my topology please Help Us !

zehome commented 3 years ago

you can't do that, you need to setup 1 mlvpn server per client. 1 mlvpn server handle multiple connections, but for a single endpoint only