SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Distribution: CentOS, Suse, Red Hat, OpenBSD, Solaris, Slackware
Posts: 40
Rep:
Which package to install to make a firewall?
Hallo everyone!
This is my first post, tada! =)
Can somebody help me too choose which packages to install to make my slack go as Firewall.
Itīs just a 13Gb HDD so no X or other space demanding options. Just the basic features to get a stable an operating Firewall/Router. I got Slack 11 and donīt know so much about all the packages.
Distribution: CentOS, Suse, Red Hat, OpenBSD, Solaris, Slackware
Posts: 40
Original Poster
Rep:
Just one more question...
If I have 2 network cards. One built in on the moderboard and one on a pci slot. How do I configure them, and how to know there correct "eth1" or likely...
Does I have to do a netconfig separatly on both cards? And how do i write the syntax "netconfig eth1"
If I have 2 network cards. One built in on the moderboard and one on a pci slot. How do I configure them, and how to know there correct "eth1" or likely...
Does I have to do a netconfig separatly on both cards? And how do i write the syntax "netconfig eth1"
/c
You need to make sure each card is configured for a different subnet, and of course make sure that each one is physically connected to a different network segment. You would enable ipforwarding in your firewall config to pass traffic between subnets.
As far as knowing which card is eth0 or eth1,etc, there are a number of ways. Do you know the manufacturer of each one? If so, there are a few ways to find out.
But a quick easy way, if you don't know the manufacturer, is to just plug a cat 5 cable that has an active connection on the other end into only 1 of the cards and do either
Code:
ethtool eth0
or
ethtool eth1
and see which one says "Link detected: yes."
You will probably need to be root to run the ethtool command.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.