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
Linux NetworkingLinux OS DevNetworking

Avatar of undefined
Last Comment
tosh2000

8/22/2022 - Mon
jar3817

Are you trying to access via name or IP? What do your iptables rules look like on this samba server?
Monis Monther

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
tosh2000

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
tosh2000

Issue resolved by re doing the smb.conf file
Your help has saved me hundreds of hours of internet surfing.
fblack61