Solved

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

Posted on 2010-11-10
4
291 Views
Last Modified: 2012-05-10
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
0
Comment
Question by:tosh2000
  • 2
4 Comments
 
LVL 26

Expert Comment

by:jar3817
ID: 34101971
Are you trying to access via name or IP? What do your iptables rules look like on this samba server?
0
 
LVL 14

Expert Comment

by:Monis Monther
ID: 34102031
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
 

Accepted Solution

by:
tosh2000 earned 0 total points
ID: 34104471
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
 

Author Closing Comment

by:tosh2000
ID: 34134638
Issue resolved by re doing the smb.conf file
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Blacked by spamhaus? 26 96
IR 1023 Scanning 4 50
Install XRDP on Ubuntu Server 16.10 x64 3 58
CentOS 7 wireless 2 28
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question