<div dir="ltr">what's more ,i found that whichever vpn user to radius server, all shows the same nasipadress, so i set different nas-ip-address in the radreply table for users in different client server, but sitll show the same nasipadrees.<div><br></div><div>In my radcheck, i created vpn1user and vpn2user for different client servers, but it seems that it cant distinguish users for different clients.</div><div>For example, the vpn2user with vpn1 server IP can also connect to the radius server.</div><div><br></div><div>How can i sove this?</div><div>Thanks.<br><div class="gmail_extra"><br><div class="gmail_quote">2014-09-17 17:44 GMT+08:00 Xu Tingting <span dir="ltr"><<a href="mailto:t.t.xu@outsideheaven.com" target="_blank">t.t.xu@outsideheaven.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi Alan,<div>Thank you so much.</div><div><br></div><div>when i set one client server to my radius server ,the vpn users work fine. but while there are two client servers ,the second client cant connect the radius server.</div><div>radius server : client.conf</div><div>--------------</div><div><div>client [vpn1-IP]{</div><div>        secret = secret1</div><div>        nastype = other</div><div>}</div><div>client  [vpn2-IP]{</div><div>        secret = secret2</div><div>        nastype = other</div><div>}</div></div><div>-------------</div><div>radius.log</div><div>-------------</div><div><div>Wed Sep 17 04:07:16 2014 : Info: rlm_sql (sql): Connected new DB handle, #0</div><div>Wed Sep 17 04:07:16 2014 : Info: rlm_sql (sql): Attempting to connect rlm_sql_mysql #1</div><div>Wed Sep 17 04:07:16 2014 : Info: rlm_sql_mysql: Starting connect to MySQL server for #1</div><div>Wed Sep 17 04:07:16 2014 : Info: rlm_sql (sql): Connected new DB handle, #1</div><div>Wed Sep 17 04:07:16 2014 : Info: rlm_sql (sql): Attempting to connect rlm_sql_mysql #2</div><div>Wed Sep 17 04:07:16 2014 : Info: rlm_sql_mysql: Starting connect to MySQL server for #2</div><div>Wed Sep 17 04:07:16 2014 : Info: rlm_sql (sql): Connected new DB handle, #2</div><div>Wed Sep 17 04:07:16 2014 : Info: rlm_sql (sql): Attempting to connect rlm_sql_mysql #3</div><div>Wed Sep 17 04:07:16 2014 : Info: rlm_sql_mysql: Starting connect to MySQL server for #3</div><div>Wed Sep 17 04:07:16 2014 : Info: rlm_sql (sql): Connected new DB handle, #3</div><div>Wed Sep 17 04:07:16 2014 : Info: rlm_sql (sql): Attempting to connect rlm_sql_mysql #4</div><div>Wed Sep 17 04:07:16 2014 : Info: rlm_sql_mysql: Starting connect to MySQL server for #4</div><div>Wed Sep 17 04:07:16 2014 : Info: rlm_sql (sql): Connected new DB handle, #4</div><div>Wed Sep 17 04:07:16 2014 : Info: Loaded virtual server <default></div><div>Wed Sep 17 04:07:16 2014 : Info: Loaded virtual server inner-tunnel</div><div>Wed Sep 17 04:07:16 2014 : Info:  ... adding new socket proxy address * port 54648</div><div>Wed Sep 17 04:07:16 2014 : Info: Ready to process requests.</div><div>Wed Sep 17 04:18:23 2014 : Error: Ignoring request to authentication address * port 1812 from unknown client [IP address] port 47118</div><div>Wed Sep 17 04:18:33 2014 : Error: Ignoring request to authentication address * port 1812 from unknown client [IP address] port 47118</div><div>Wed Sep 17 04:18:43 2014 : Error: Ignoring request to authentication address * port 1812 from unknown client [IP address] port 47118</div></div><div>-------------</div><div><br></div><div>the second client server log</div><div>-----------</div><div><div>Sep 17 04:18:19 vpn2 pppd[8096]: pppd 2.4.5 started by root, uid 0</div><div>Sep 17 04:18:19 vpn2 pppd[8096]: Using interface ppp0</div><div>Sep 17 04:18:19 vpn2 pppd[8096]: Connect: ppp0 <--> /dev/pts/1</div><div>Sep 17 04:18:53 vpn2 pppd[8096]: rc_ip_hostname: couldn't look up host by addr: %lX</div><div>Sep 17 04:18:53 vpn2 pppd[8096]: rc_send_server: no reply from RADIUS server unknown:1812</div><div>Sep 17 04:18:53 vpn2 pppd[8096]: Peer vpn2test01 failed CHAP authentication</div><div>Sep 17 04:18:53 vpn2 pppd[8096]: Modem hangup</div><div>Sep 17 04:18:53 vpn2 pppd[8096]: Connection terminated.</div><div>Sep 17 04:18:53 vpn2 pppd[8096]: Exit.</div><div>------------------</div><div class="gmail_extra"><br><div class="gmail_quote">If there is only vpn1 client, the client server and radius all ok ,while two , the vpn1 still wor fine, but the vpn2 is not.</div><div class="gmail_quote">Why the radius server cant make response to the vpn2 client server?</div><div class="gmail_quote"><br></div><div class="gmail_quote">Thanks.</div>
</div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Best regards,</div><div><br></div><div><br></div></div>
</div></div></div>