Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
BTW, if you do want to try editting the shorewall files directly, they are all in /etc/shorewall and the main ones are rules, interfaces, policy, zones and each file has some help and hints included... For interfaces you may just need
net ppp0
and not put the detect option....
the zones are simple and your pc is considered as the firewall or fw when dealing with rules and the ppp interface will be called net
but hopefully DRAKFIREWALL will configure it now...
Well, I thought I I shutdown the SMB but it FAILED to shutdown. I clicked the Sop button and there it said failed to shutdown smb services. But, "On Boot" its unchecked.
And under DrakFirewall, I unticked everything except CUPS. Now I dont know what to do from here. Where and how could I configure the iptables?
################################################################################
# Give Usage Information #
################################################################################
usage() {
echo "Usage: $0 start|stop|rstopped|restart|status"
exit 1
}
################################################################################
# E X E C U T I O N B E G I N S H E R E #
################################################################################
command="$1"
You are configuring IPTABLES. Drakfirewall configures the config files for the shorewall script and the shorewall script is just a nice 'easy' frontend to the IPTABLES...
The shorewall config files are just a easier layout to deal with and when you start shorewall it will set up IPTABLES as needed...
After you set up your shorewall rules byy whatever method you chose. you can start (or restart) shorewall.
iptables -L
will then list the iptables rules it has set up...
Well, I thought I I shutdown the SMB but it FAILED to shutdown. I clicked the Sop button and there it said failed to shutdown smb services. But, "On Boot" its unchecked.
But the smb running or not running has nothing to do with the firewall. I have smb running and the firewall works fine...
Oh, and make sure you change things with drakfirewall. I found sometimes you have to click the top box - everything - no firewall - and click okay (to open everything up) and restart it. that resets everything. Then you open it again and untick the boxes and hit okay and restart it and it should firewall everything...
And you sometimes need to redial the ppp interface as well...
Great news. I went to www.grc.com and I tested the File Sharing. The results were that Unable to connect to NetBios and bla bla bla...........
But, the only problem now, is I did a Common Ports Test and every port was CLOSED. (Not Opened) but Closed.
I want all my ports to be STEALTH. But how could I do this. And everytime I start Shorewall. I cant view webpages.
You mean to restart the machine??
Because I clicked Everything-No firewall and it keeps on resetting to the CUPS. I dont know why its doing that. I even tried it with the firewall set to running and stopped.
Maybe its corrupted, I don't know. When I first install this, it was indeed set to Everything.
I would say something has been corrupted, yes. This should be all very easy and you should not be having these problems. I'm not sure what you need to do to fix it tho... There must be some other mandrake config file that has been corrupted somehow. I'll have to look through my system and see what I can find.
The other option would be to download guard dog or firestarter and see if they will set up a firewall for you.
I already did. I extracted the files and I dont know what to do from there. There are many files that has been extracted but I do not know which one to choose.
I started Shorewall and went to Mandrake Control Center and clicked on DrakFirewall. Then it asked me if what Services would you like the Interent to connect to?
I unticked everything but when I go back in there CUPS is always checked. But nothing else. Then I clicked on OK.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.