tosh2000
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
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
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
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
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Issue resolved by re doing the smb.conf file