Hey!
we had a OpenVPN Server running for a while now and it worked fine. It's used mostly for accessing perforce and RDPíng into clients. So recently we switched out our old Asus Router (with Tomato installed) for an Ubiquiti Edgemax EP8. Since then VPN seems to randomly drop packets for services while pings still work fine. For instance when connecting to perforce it works half the time, the other half we get a WSACONNRESET error. Once connected it usually kicks you out within about 10-15 minutes. RDP let's you connect sometimes, and sometimes it doesn't. Usually kicks you out after a while too. None of these issues apply when RDPíng into the server that terminates the VPN tho. (so i am currently RDPíng into the terminating server and then onto what i really want to RDP into). I am not sure why the switch of the firewall made this happen because the connection should be encrypted between the client and the server, the Firewall shouldn't really be involved (with the exception of routing the packets through). There are no rules that should drop these packets.
Our network topology for this part essentially exists of a Windows 2008r2 Server behind the mentioned Ubiquiti firewall. The clients and servers that need accessing over OpenVPN are all on the same subnet as the Windows 2008 Server that terminates VPN.
Here is our config (oh, and i take any suggestions to make it nicer, it's not the prettiest 🙂 )
local 192.168.91.8
port 1194
proto udp
;dev tap
;dev-node TAP-Bridge
dev tun
topology subnet
;dev-node TAP-Bridge
ca C:\\Server\\OpenVPN\\config\\ca.crt
cert C:\\Server\\OpenVPN\\config\\server.crt
key C:\\Server\\OpenVPN\\config\\server.key
dh C:\\Server\\OpenVPN\\config\\dh2048.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
;server-bridge 10.8.0.4 255.255.255.0 10.8.0.50 10.8.0.100
;server-bridge 192.168.91.8 255.255.255.0 192.168.91.246 192.168.91.254
;server-bridge
;push "route 192.168.10.0 255.255.255.0"
route 172.72.72.0 255.255.255.0
route 192.168.91.0 255.255.255.0
route 10.26.0.0 255.255.255.0
push "route 10.26.0.0 255.255.255.0 192.168.91.16 1"
push "route 192.168.91.0 255.255.255.0"
push "route 172.72.72.0 255.255.255.0 192.168.91.16 1 "
fragment 1500
mssfix
;client-config-dir ccd
;route 192.168.40.128 255.255.255.248
;client-config-dir ccd
;route 10.9.0.0 255.255.255.252
;learn-address ./script
;push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 192.168.91.240"
push "dhcp-option WINS 192.168.91.240"
;push "dhcp-option DNS 208.67.220.220"
;client-to-client
;duplicate-cn
keepalive 10 120
;tls-auth ta.key 0 # This file is secret
;cipher BF-CBC # Blowfish (default)
;cipher AES-128-CBC # AES
;cipher DES-EDE3-CBC # Triple-DES
comp-lzo
;max-clients 100
;user nobody
;group nobody
persist-key
persist-tun
status openvpn-status.log
;log openvpn.log
;log-append openvpn.log
verb 3
;mute 20
I would appreciate any help because i tried quite a lot at this point.
Thank You!
Best Regards
Patrick