prevent same usr account to connect from 2 different device?
-
- Posts: 10
- Joined: Wed Oct 26, 2016 10:59 am
prevent same usr account to connect from 2 different device?
hi
I wanna know
Now is there any way to prevent same user account to connect from two different device at same time in L2TP/IPSec connection
thanks a lot
I wanna know
Now is there any way to prevent same user account to connect from two different device at same time in L2TP/IPSec connection
thanks a lot
-
- Posts: 336
- Joined: Sat Aug 15, 2015 7:41 pm
Re: prevent same usr account to connect from 2 different dev
In the user policy, set the "MAX IP" or "MaxMac" to 1
But if that user is connecting from via WiFi through some router and using many devices, this will probably not work, as all the devices will have the same IP and the same MAC (router mac)
But if that user is connecting from via WiFi through some router and using many devices, this will probably not work, as all the devices will have the same IP and the same MAC (router mac)
-
- Posts: 4
- Joined: Wed Nov 09, 2016 6:16 pm
Re: prevent same usr account to connect from 2 different dev
mhamdy55 wrote:
> hi
> I wanna know
>
> Now is there any way to prevent same user account to connect from two
> different device at same time in L2TP/IPSec connection
> thanks a lot
I Think you can use this option
Users with this policy setting are unable to have more than this number of concurrent logins.
Bridge Mode sessions are not subjects to this policy.
This security policy is only available on VPN Server 3.0 or greater, or
VPN Server 2.0 with the multi-login restriction function.
for That
Manager VPN server
select hub
Manage Virtual Hub
Click Manage users
select user
click Edit
check Set Security Policy >> Security Policy
select Maximum Number of Multiple Logins
and Give Value
> hi
> I wanna know
>
> Now is there any way to prevent same user account to connect from two
> different device at same time in L2TP/IPSec connection
> thanks a lot
I Think you can use this option
Users with this policy setting are unable to have more than this number of concurrent logins.
Bridge Mode sessions are not subjects to this policy.
This security policy is only available on VPN Server 3.0 or greater, or
VPN Server 2.0 with the multi-login restriction function.
for That
Manager VPN server
select hub
Manage Virtual Hub
Click Manage users
select user
click Edit
check Set Security Policy >> Security Policy
select Maximum Number of Multiple Logins
and Give Value
-
- Posts: 10
- Joined: Wed Oct 26, 2016 10:59 am
Re: prevent same usr account to connect from 2 different dev
Oh thanks Kesha
but when I login using GUI always hang and server down , so I'm using command line ,
could you please give me a hand how to achieve it using CLI
thanks a lot
but when I login using GUI always hang and server down , so I'm using command line ,
could you please give me a hand how to achieve it using CLI
thanks a lot
-
- Posts: 10
- Joined: Wed Oct 26, 2016 10:59 am
Re: prevent same usr account to connect from 2 different dev
moatazelmasry wrote:
> In the user policy, set the "MAX IP" or "MaxMac" to 1
>
> But if that user is connecting from via WiFi through some router and using
> many devices, this will probably not work, as all the devices will have the
> same IP and the same MAC (router mac)
thanks Moataz , could u please tell me how I gonna use it by Cli ,
GUI , doesn't work well , hang and then server down , lost Ping to server ,
thanks a lot
> In the user policy, set the "MAX IP" or "MaxMac" to 1
>
> But if that user is connecting from via WiFi through some router and using
> many devices, this will probably not work, as all the devices will have the
> same IP and the same MAC (router mac)
thanks Moataz , could u please tell me how I gonna use it by Cli ,
GUI , doesn't work well , hang and then server down , lost Ping to server ,
thanks a lot
-
- Posts: 336
- Joined: Sat Aug 15, 2015 7:41 pm
Re: prevent same usr account to connect from 2 different dev
/opt/vpnserver/vpncmd {HOST}:{PORT} /SERVER /HUB:{HUB_NAME} /PASSWORD:{YOURPASSWORD} /CMD UserPolicySet {USERNAME} /NAME:MAXIP /VALUE:1
I agree with keshar.devops that the better option is "Maximum Number of Multiple Logins" but I don't see this option available through the CLI when I type "PolicyList"
Cheers
I agree with keshar.devops that the better option is "Maximum Number of Multiple Logins" but I don't see this option available through the CLI when I type "PolicyList"
Cheers
-
- Posts: 10
- Joined: Wed Oct 26, 2016 10:59 am
Re: prevent same usr account to connect from 2 different dev
keshar.devops wrote:
> mhamdy55 wrote:
> > hi
> > I wanna know
> >
> > Now is there any way to prevent same user account to connect from two
> > different device at same time in L2TP/IPSec connection
> > thanks a lot
>
> I Think you can use this option
>
> Users with this policy setting are unable to have more than this number of concurrent
> logins.
> Bridge Mode sessions are not subjects to this policy.
> This security policy is only available on VPN Server 3.0 or greater, or
> VPN Server 2.0 with the multi-login restriction function.
> for That
> Manager VPN server
> select hub
> Manage Virtual Hub
> Click Manage users
> select user
> click Edit
> check Set Security Policy >> Security Policy
> select Maximum Number of Multiple Logins
> and Give Value
I did it I se the value to 1 , but still can use 2 devices to login with same account :(
> mhamdy55 wrote:
> > hi
> > I wanna know
> >
> > Now is there any way to prevent same user account to connect from two
> > different device at same time in L2TP/IPSec connection
> > thanks a lot
>
> I Think you can use this option
>
> Users with this policy setting are unable to have more than this number of concurrent
> logins.
> Bridge Mode sessions are not subjects to this policy.
> This security policy is only available on VPN Server 3.0 or greater, or
> VPN Server 2.0 with the multi-login restriction function.
> for That
> Manager VPN server
> select hub
> Manage Virtual Hub
> Click Manage users
> select user
> click Edit
> check Set Security Policy >> Security Policy
> select Maximum Number of Multiple Logins
> and Give Value
I did it I se the value to 1 , but still can use 2 devices to login with same account :(
Last edited by mhamdy55 on Fri Nov 11, 2016 5:42 am, edited 1 time in total.
-
- Posts: 10
- Joined: Wed Oct 26, 2016 10:59 am
Re: prevent same usr account to connect from 2 different dev
moatazelmasry wrote:
> /opt/vpnserver/vpncmd {HOST}:{PORT} /SERVER /HUB:{HUB_NAME}
> /PASSWORD:{YOURPASSWORD} /CMD UserPolicySet {USERNAME} /NAME:MAXIP /VALUE:1
>
> I agree with keshar.devops that the better option is "Maximum Number
> of Multiple Logins" but I don't see this option available through the
> CLI when I type "PolicyList"
>
> Cheers
I follow this way in the cli ,
set the value to 1 , but the user still can login in 2 different devices as before
> /opt/vpnserver/vpncmd {HOST}:{PORT} /SERVER /HUB:{HUB_NAME}
> /PASSWORD:{YOURPASSWORD} /CMD UserPolicySet {USERNAME} /NAME:MAXIP /VALUE:1
>
> I agree with keshar.devops that the better option is "Maximum Number
> of Multiple Logins" but I don't see this option available through the
> CLI when I type "PolicyList"
>
> Cheers
I follow this way in the cli ,
set the value to 1 , but the user still can login in 2 different devices as before
-
- Posts: 10
- Joined: Wed Oct 26, 2016 10:59 am
Re: prevent same usr account to connect from 2 different dev
its work ,
example
if u login now at u home using user and password
u friend want to login it will show him server doesn't response
2 diffrent ip will not login
but if u login from iPhone and u windows pc from same location will login
only different location will not work
what I did is
1- create Group
2-add user to the group
3-set the group policy set
multilogins =1
done
so from same ip multilogin work
from different ip multi login will fail
thanks guys,
and if there is any other work to stop multi login from same ip , please explain it
thanks guys
example
if u login now at u home using user and password
u friend want to login it will show him server doesn't response
2 diffrent ip will not login
but if u login from iPhone and u windows pc from same location will login
only different location will not work
what I did is
1- create Group
2-add user to the group
3-set the group policy set
multilogins =1
done
so from same ip multilogin work
from different ip multi login will fail
thanks guys,
and if there is any other work to stop multi login from same ip , please explain it
thanks guys