Thank you very much please make a script for me I use redhat 9
yes each account can ping each department
Main Topics
Browse All Topics I use linux 9 as a internet sharing it have 3 net work cards It connect to router
eth0 (192.168.0.1)connect to router
eth1 (192.168.1.1)conect the account department (4 computers)
eth2 (192.168.2.1)connect to guest user (4computers)
both acount depart ment and guest want to use internet account depart ment use win 98 and xp and want to share file to each staff but do not want for gest user to see their sharing f ile how can i set up iptable
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
How do you share your files? Are you using Samba or are the users share files between each other?
Since there is a router (your Redhat) between two subnets, you can block access of one subnet using iptables. If you have a SAMBA server in the middle to act as a file server, you should modify your smb.conf to accept connections from one of the subnets only.
Uhh, why did you award me any points when I hadn't even provided the script yet? Did you get it working? Would you still like a script to get your stuff working? I have been quite busy lately, but I hand't forgot about your stuff. If you do need a better short term solution, might I suggest Webmin? It would give you a GUI to configure your interfaces as well as set up your filtering rules that would give you what you need. However, if you do need the script, lemme know.
Has
For starters, that is a very vague question. I don't know if you are asking how to set up a POP3 server for an existing mail server, or if you are talking about receiving POP3 messages through a firewall, and finally, I don't know what regional offices are. I think this is unrelated to this original thread, and I suggest you ask a question on a new thread.
Haz
Well, actually configuring a firewall isn't in the same realm as configuring a service, such as Samba. You really should start a thread for this so the search engines will be able to use this site for others who have the same problems.
If I had to guess, you probably had the two NIC's present while you installed Red Hat 9, and you added the other NIC later. Go in your smb.conf file for Samba (perhaps its in /etc/samba, I don't know where Red Hat keeps it, nor do I know what admin tool they use to administer their services. But anyway, in the smb.conf file, look for an "interfaces" statement, make sure it has all your nics in that line, not just two. Secondly, check your "bind interfaces only" statement and see how you have it configured. Finally, check your "hosts allow" statement to make sure it is allowing the subnet that your new NICi s using.
Also, I suppose it would be a good idea to make sure your new NIC has a configured interface by running "ifconfig". If its not showing up there, then it certainly won't work. If you aren't configuring it by boot time, then when Samba starts, it might not bind to that interface unless it knows its present. There is a wealth of information on how to configure Samba on their website www.samba.org. The documentation link has a really good amount of documentation, and is also available as a book.
Haz
Business Accounts
Answer for Membership
by: HasuesPosted on 2004-01-22 at 21:43:02ID: 10181685
Have you verified that each department (each subnet) can ping each netcard that they are configured?
If you wanted, I could take a script, make it your firewall script, and make it where upon boot, it could do what you want. Also one more thing, when you say Linux 9, Linux is nothing more than a kernel, and the current highest I have seen is 2.6.1. You are referring to the version of our distribution I imagine, so is it SuSE 9, RedHat 9, Slackware 9 or which that you are using?
Has