How do i setup linux to allow accessing a share across subnets?

Redhat server  IP 192.168.3.3 255.255.255.0

Share works fine on this subnet

Trying to access on subnet 192.168.2.x 255.255.255.0
ping works fine
router is a firewall - rules open
Windows shares work across same subnets

smb.conf =

[global]
        client schannel = no
        client use spnego = no
        server signing = auto
        hosts allow = 192.168.3. 192.168.2.
        security = SHARE
        dns proxy = no

[TEST]
        comment = TEST DIR
        path = /TEST
        writeable = yes
        guest ok = yes
tosh2000Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
tosh2000Connect With a Mentor Author Commented:
Thanks for your help - i re-edited the smb.conf file and its now working - it was as if the host allow was not being registered?
0
 
jar3817Commented:
Are you trying to access via name or IP? What do your iptables rules look like on this samba server?
0
 
Monis MontherSystem ArchitectCommented:
First test Network issues

1- ping 192.168.3.3

2- telnet 192.168.3.3 445
If this works then there is no network problem we can focus on Samba
0
 
tosh2000Author Commented:
Issue resolved by re doing the smb.conf file
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.