VPN inactivity timeout

1

Hello,

Need some assistance. I have successfully configured a VPN Client Endpoint. Everything is working as expected but is there a way to set an inactivity timeout for the vpn client? My end users will not remember to disconnect from their vpn session so I would like the session to timeout after 1 hour of inactivity. I searched all the AWS documentation but there is no mention of this anywhere. Any know if this option can be set somewhere?

질문됨 4년 전1437회 조회
7개 답변
1

Following as I have the same question. Thanks.

dAWiS
답변함 4년 전
1

I have the same question too. Following.

답변함 3년 전
1

following. Hopefully his feature request gets priority as it is incurring added cost for many for no reason.

답변함 3년 전
1

AWS, please fix this. Not having the ability to adjust this fundamental security setting is beyond frustrating. It rules out the use of the AWS client VPN as a solution for anyone with any level of PCI compliance obligations.

jpetro
답변함 3년 전
0

Hi,

I understand you want to set inactivity timeout of Client VPN, but unfortunately this feature/option is not available in Client VPN as of now.

I can see there is already a feature request for this in our internal system, but It is important to mention that we do not have an ETA as to when this service would be available, however, the new features/services which are about to get released are announced on the public documentation. You can always keep an eye on this link [1] for new releases.

As a workaround, If you want a shorter idle timeout, you need to implement a connection timeout option on your VPN Client side. For example: OpenVPN VPN Client can use the command: "-inactive" to configure the timeout. For more information, you can refer to the third party Configuration instructions for VPN Client [2] [3]. But again, clients can change these values and bypass this.

[1] AWS new releases - https://aws.amazon.com/new/
[2] https://openvpn.net/community-resources/reference-manual-for-openvpn-2-4/
[3] https://forum.netgate.com/topic/111241/openvpn-idle-timeout/2

Second option for now can be utilising AWS API calls to terminate client sessions after lets say 4 hours ( but it wont check if it was inactive or active session, it will just terminate it after x hours)

What you can do write a python script/bash script/ Lambda that run after every lets say 10 minutes and do describe-client-vpn-connections API Call, this API Call returns Connection Establishment time and then you can call terminate-client-vpn-connections for any connection more than x hours of time.

https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-client-vpn-connections.html
https://docs.aws.amazon.com/cli/latest/reference/ec2/terminate-client-vpn-connections.html

I totally understand that these work arounds might not be a good option and add extra operational overhead, but as of now, these are two methods I can think of to achieve your goal until Client VPN product team launch any native feature to support it.

Regards,
MuhaAtAWS

AWS
답변함 3년 전
0

subscribed

Kaijp
답변함 4년 전
0

While the VPN session maximum duration setting is better than nothing, it still does not address an idle timeout setting that a robust VPN should offer. This service is on the expensive side, and would love to see AWS roll out an idle timeout setting to save cost where we can.

Matt
답변함 2달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠