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.
I have a firewall installed on my system, set up automatoically by mandrake 9 setup. This apears to cover both my ethernet card (eth0) and my modem ( externl on ttyS0).
How can i completely remove the firewall on eh0 ( i trust everything on the network, as its all my own computers), but still keep a firewall on my modem?
I am too
In the Mandrake Control Center (MCC), the firewall section should show some reference to Shorewall. Also, when you click/unclick some of the options, do they remain as you leave them when you close MCC and open it again? There is a known problem with Shorewall atm
ok, in MCC i cannot see any reference to shorewall, but all that is shown is a list of ticky-boxes of services to alow the internet to access.
if i select any of these, and close MCC, once i return, they are still set to the way i put them. currentky, i've left it as one selected ause this is the default, and my shared internet connection works fine.
he fproblem that 'm haviong with the firewal is the fact that i cannot aces the samba shares from my laptop, the only computer connected to eth0. THis shares the internbt connection fine, but winxp purts out some garbage bout not finding the computer om the network.
i blame the firewall. If anyoe understands my rantings, please share your god-like knowledge
Well you seem to be lucky that Shorewall is working. Also you might be able to see a reference to it in the log ouput window at the bottom right of the MCC.
Now I suggest you await some other responses which might tell you exactly which firewall has those kinds of features (Guarddog, FireStarter??), or read up on IPTables, which is what these 'firewalls' really just aid configuration of.
Try man iptables to find out more, but I think those commands will just attempt to 'flush' the rules. Also you'll only have iptables or ipchains running, and as you've got Mdk9.0, with the 2.4 kernel, it'll probably be iptables.
Iron chimp,
I had a similar setup. All PC within my firewall are my own thus trustwrthy. But I still needed a firewall on my net connection.
I added two lines to the policy file.
# New lines for freeing internal ports
masq fw ACCEPT
fw masq ACCEPT
# end new lines
I use a cable modem for net connection, but I am sure you can apply the same principle.
Before i had set up the net connection sharing, i had set up the plain network - i.e. ip addresses etc. I then ran the network connection wizzard after, without testing the network stuff first ( stupid, i knw, but i used the exact details that i had on rh8, which worked perfectly). The net config wizzard ran an auto-config on m,y network again, and re set it. i altered my laptop to have a dhcp allocated address.
What i didn't kow was that i had two ip adresses bound to eth0, and that samba was broadcasting on the old ipaddress. i found this out by browsing the netconf program. According to the cnnection sharing wizzard, my desktop/server had an ip adress of 192.168.1.1, and the dhcp network address was 192.168.1.0. i thought this was fine, untill when nostalgia kicked in and i went to check the assigned ip addres to the eth0 card, and notced it was stil set to 192.168.147.2 ( the original ip i entered).
I set this to a staticx address of 192.168.1.1, and made the dhcp range from 192.168.1.16 -> 192.168.1.255. problem solved!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.