AlainDeloin
Bonjour.
Glad to join you for my first post there.
I try to setup an Openvpn server since some times, actually everything seems to work correctly but I have a strange and repeating behavior.
I have an openvpn 2.4.8 server on an Ubuntu 14.04 VM and I use Windows 10 clients to connect to it thru Internet.
With one client connected everything is ok : ie I can use RDP to access to a remote lan server, ping from client to all the remote lan, ping from the remote lan to the Windows 10 client, copy file via SMB from a Windows server on the Windows 10 PC ...
The strange behavior happens when another client connects to the openvpn server, even from another Internet access :
With one client connected everything is ok : ie I can use RDP to access to a remote lan server, ping from client to all the remote lan, ping from the remote lan to the Windows 10 client, copy file thru SMB from a Windows server on the Windows 10 PC ...
The two clients can use RDP, ping, at the same time but when I try to access file thru SMB at the same time, even to different servers or PCs, the file copy to one client stops ie, showing a Windows message box error asking to try the copy again or not.
When this problem occurs the openvpn client is still connected to the server without problem.
I have a lot of tests or searches but I don't find what the problem can be ?
Thanks.
Regards.
port 4911
proto tcp
dev tun
ca ca.crt
cert srvopenvpn.crt
key srvopenvpn.key
dh dh2048.pem
topology subnet
server 10.8.200.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 192.9.200.0 255.255.255.0"
push "route 192.168.0.0 255.255.255.0"
push "route 192.168.125.0 255.255.255.0"
push "route 172.16.0.0 255.255.0.0"
push "route 192.168.4.0 255.255.255.0"
push "dhcp-option DNS 192.9.200.200"
push "dhcp-option DNS 192.9.200.10"
push "dhcp-option WINS 192.9.200.200"
push "dhcp-option DOMAIN xxxxxxxx.lan"
push "dhcp-option NBT 8"
push "block-outside-dns"
keepalive 5 120
ncp-disable
cipher AES-128-CBC
comp-lzo
max-clients 50
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
verb 3
log-append /etc/openvpn/openvpn.log
management 127.0.0.1 5555
client
comp-lzo
nobind
persist-key
persist-tun
dev tun
remote yyyyyyyy 4911
proto tcp4
ca "ca.crt"
cert "CJxxxxxx.crt"
key "CJxxxxxx.key"
verb 5
cipher AES-128-CBC
route 0.0.0.0 0.0.0.0 vpn_gateway 100
sndbuf 0
rcvbuf 0
resolv-retry infinite
TiTex
this doesn't sound like an openvpn issue
check your logs on your servers, do some packet capture , the usual debugging steps
AlainDeloin
Bonjour.
I've tried more tests without success (update Linux server 14.04, use another gateway on the remote lan, try to capture packets on the gateway and the remote PCs).
As soon as I connect the share folder and access to it from a remote PC the file copy on the other remote PC stops and writes that an acces to the file error have occured.
I've an embedded openvpn into a gateway (but a slow one) and when the remote PCs are connected to it they don't have any problems at all.
It seems a SMB Linux/Windows/OpenVPN problem but I don't find it.
I'm not a Linux Jedi, anything to check about SMB for it ?