Access Samba from different subnets

NethServer Version: 7.3.1611 (Final)
Module: Samba

I have a question
I have a nethserver with samba installed and some shares setup.

I can access it fine from my network here locally.
It’s only this server we can’t reach. no problem else in network.
I can access all machines in all subnets.

But when I try to reach it from a subnetwork I can’t

This is an example ip range, but server is on
192.168.224.10
Can reach it from 192.168.224.0
but not from 192.168.226.0 network.

Hi Drake,

put the Network 192.168.226.0 to the trusted Networks.

Regards

Uwe

5 Likes

Ofc…
So blind.
Thanks :smiley: works fine now

Hey.
an addition to this question.

Can I add access for all 192.168.x.x network.
or do I have to specify each one

You probably can by faking the subnet mask.

real situation:

Range 1: 192.168.0.0/24
Range 2: 192.168.1.0/24

Add to trusted networks:

Range 192.168.0.0/23

Result:

Address: 192.168.0.1 11000000.10101000.0000000 0.00000001
Netmask: 255.255.254.0 = 23 11111111.11111111.1111111 0.00000000
Wildcard: 0.0.1.255 00000000.00000000.0000000 1.11111111
=>
Network: 192.168.0.0/23 11000000.10101000.0000000 0.00000000 (Class C)
Broadcast: 192.168.1.255 11000000.10101000.0000000 1.11111111
HostMin: 192.168.0.1 11000000.10101000.0000000 0.00000001
HostMax: 192.168.1.254 11000000.10101000.0000000 1.11111110

afaik, this should work.

1 Like

I will try that :slight_smile:Thanks ^^