Link to home
Create AccountLog in
Avatar of tosh2000
tosh2000Flag for United Kingdom of Great Britain and Northern Ireland

asked on

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
Avatar of jar3817
jar3817

Are you trying to access via name or IP? What do your iptables rules look like on this samba server?
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
ASKER CERTIFIED SOLUTION
Avatar of tosh2000
tosh2000
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of tosh2000

ASKER

Issue resolved by re doing the smb.conf file