Open shared folder to VPN

NethServer Version: 6.8
Module: shared folder

I need to use samba folder via OpenVpn connection.
Vpn guests have ip like 10.255.255.XXX and samba refuse the connection.

Seems that samba only accept connection from local IP, like 192.168.1.XXX
Which file i have to modify to make external VPN guest connected to the shared folder?

Which server has role of OpenVPN Server?

The OpenVPN server is the router/firewall.

Add the OpenVPN subnet to trusted networks.
https://docs.nethserver.org/en/v7/base_system.html#trusted-networks
Should do the trick.

And consider an update… 6.8 is quite old, now 6.10 is most recent version for 6.x

2 Likes

My error… it is NethServer release 6.10 (Final).
It is regularly updated.

Trusted networks works :wink:
Thanks.