Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
02-21-2013, 08:42 AM
|
#1
|
Member
Registered: Jan 2013
Posts: 32
Rep: 
|
how to start iptables?
Hi all,
i am new to Linux, but installed a Slackware 14 and wanna build a firewall. For now i wanna test it, but dunno how i can start iptables and NAT .
I looked at etc/rc.d/ and didnt find rc.firewall or rc.iptables. I did slackpkg update and saw it installed iptables 1.4.14. When type iptables -L it returns me "Chain INPUT (policy ACCEPT)
target prot opt source destination" and so on. So do iptables are running, and where can find that firewall file?
and also , how to enable NAT ?
Thank you in advance.
|
|
|
02-21-2013, 11:06 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
system-configure-firewall will provide a gui for it, but the base rules themselves are kept in /etc/sysconfig/iptables.
|
|
|
02-21-2013, 12:42 PM
|
#3
|
Member
Registered: Jan 2013
Posts: 32
Original Poster
Rep: 
|
thank you , will try it tommorow. Is there some iptables app on xwindow ?
|
|
|
02-23-2013, 11:53 AM
|
#4
|
LQ Newbie
Registered: Feb 2013
Posts: 4
Rep: 
|
How to start iptables?
Hello Guys i think that in order to quit and begin the firewall program, but some distros have set up a service called iptables to quit and begin the firewall program and a settings file to set up it. Anyway it's possible to make a support to manage ipotables enhancing or setting up a program for this opportunity.Thanks a lot!!
|
|
|
02-25-2013, 01:07 AM
|
#5
|
Member
Registered: Jan 2013
Posts: 32
Original Poster
Rep: 
|
actually there is no /etc/sysconfig/ directory at all. So where are the conf files for firewall and nat ? Where iptables stores it's configurations on slackware 14 ?
I wanna know where those configurations are stored because want to build up firewall on a virtual machine with virtual networks, and after than to just replace configuration files in my production network  .
Last edited by contozo; 02-25-2013 at 02:02 AM.
|
|
|
All times are GMT -5. The time now is 07:27 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|