Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Smoothwall Firewall (in the middle with ports open between FTP and NAS)
LAN NAS - 192.168.0.x (Buffalo Linkstation)
I'm trying to setup my rsync backup that use to exist when my server was inside my LAN. Now that my server is on the DMZ, it can not communicate with my NAS on the LAN. My smoothwall firewall has everything open in the middle for the SMB sharing using ports 136:139 & 445 all TCP.
I think the issue is with the iptables on the server. This is an example of the opening I made for the ports on the FTP server on the DMZ:
It would seem that I still can not see the NAS on my LAN. What am I missing? I imagine it's a static route to the LAN. Not sure how to write it. Any help would be appreciated.
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Rep:
I think the problem is that they are on 2 different networks (192.168.3.0 and 192.168.0.0). Make sure you have the correct gateway specified in the route. Also, I believe that SMB is non-routable, unless you use something like a VPN to connect to the other network. I'm not too familiar with SmoothFirewall so maybe it has this feature?
I forget how to use the route command off the top of my head, but you can look it up. Also make sure the rsync ports are open for rsync.
I would probably recommend using SSH to rsync between these two computers to the different network.
Not sure why you cannot see your NAS on your LAN. Have you tried pinging it?
I'm pretty sure it was saying that the host is not reachable when i try to ping from DMZ to LAN. For some reason I think i have to put a static route to/from each network in the iptables so my DMZ server knows how to communicate with the NAS on my LAN. I haven't even got to the rsync part yet. hahaha. First I have to able to connect from the DMZ server to my LAN NAS.
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Rep:
Just temporarily disable iptables and start from there, get everything working, then start setting iptable rules.
I should have realized that if you only enabled ports 136:139 and 445, then all other packets will be dropped, including ping, unless you enable icmp (I think).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.