Dropping connection to Terminal Services through OpenVPN.
-
Hello, I'm starting to work with PFSense and I'm testing with OpenVPN.
I installed version 2.7 and the Client Export package to generate the certificates.
All very basic and simple.
I can access the normal network, the problem is accessing the server with Terminal Services, the session keeps disconnecting and reconnecting constantly, every minute. The strange thing is that it doesn't happen to all users.
Is there anything I can do to further verify the problem and resolve it? -
@Giovani_TI Probably need to post your config.
-
Hello @flat4.
It's a Pentium Gold G5420 CPU 3.80GHz, 4GB, 120G SSD.
In addition to firewall and Internet control, it will be DHCP and VPN, but we don't enable more functions, just VPN.
Authentication is user location based.
A total of 7 users via VPN and another 7 on the local network. -
Are both the terminal servers and openvpn using the same LAN segment?
if not look in the firewall logs I bet its getting blocked. -
Yes, 192.168.1.0/24.
It is not being blocked, I connect to the VPN, then to the TS and after a few minutes the TS connection drops and then comes back, but this is not constant and in the test I am doing, it is not on all machines. -
I've had this issue before and it was the vpn dropping and reconnecting, what does the logs say when you choose openvpn.
-
You're right, it just happened to me, on pfsense tabs.
Open VPN logs2023-08-08 17:27:23 Initialization Sequence Completed
2023-08-08 17:29:19 [Server_CA] Inactivity timeout (--ping-restart), restarting
2023-08-08 17:29:19 SIGUSR1[soft,ping-restart] received, process restarting
2023-08-08 17:29:24 TCP/UDP: Preserving recently used remote address: [AF_INET]
2023-08-08 17:29:24 UDPv4 link local: (not bound)I lost the connection.
Server problem.