OpenVPN and Samba access

Hello everyone! I have installed nethsecurity 8 with Openvpn server, the clients connect correctly and even ping the other IPs on the remote network, however I cannot access a specific remote samba server to share, however I can access other ports such as 9090. How do I release this access in nethsecurity? Should I release ports 138, 139 and 445 in nethsecurity?

NethServer Version: 8 23.05
Module: firewall

Hi @Rodrigo_Vieira_da_Co

If the 9090 server is a NethServer 7.x, you probably are missing the trusted networks for the IP of the OpenVPN network…

Just add it in, and it should allow access to samba.

My 2 cents
Andy

3 Likes

Thanks for your help, Andy! That’s exactly what it was!
The old samba server I have nethserver 7.9, and its firewall pointed me to the error in the log regarding the vpn network:

Mar 18 08:40:01 p2samba kernel: Shorewall:net2fw:DROP:IN=enp2s0 OUT= MAC=3c:7c:3f:10:aa:d0:bc:24:11:26:c9:30:08:00 SRC=192.168. 23.10 DST=192.168.2.15 LEN=52 TOS=0x00 PREC=0x00 TTL=127 ID=27565 DF PROTO=TCP SPT=57817 DPT=445 WINDOW=65535 RES=0x00 SYN URGP=0

I included the new vpn range in the shorewall of the old nethserver like trusted and now I have access to samba!
Thanks for your help!

1 Like