Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-21-2013, 08:42 AM   #1
Registered: Jan 2013
Posts: 32

Rep: Reputation: Disabled
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.
Old 02-21-2013, 11:06 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
system-configure-firewall will provide a gui for it, but the base rules themselves are kept in /etc/sysconfig/iptables.
Old 02-21-2013, 12:42 PM   #3
Registered: Jan 2013
Posts: 32

Original Poster
Rep: Reputation: Disabled
thank you , will try it tommorow. Is there some iptables app on xwindow ?
Old 02-23-2013, 11:53 AM   #4
LQ Newbie
Registered: Feb 2013
Posts: 4

Rep: Reputation: Disabled
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!!
Old 02-25-2013, 01:07 AM   #5
Registered: Jan 2013
Posts: 32

Original Poster
Rep: Reputation: Disabled
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
iptables doesn't start behzadfu Linux - Server 35 06-29-2009 01:06 AM
iptables suddenly will not start cylarz Linux - Kernel 2 06-28-2008 11:48 PM
can not start my iptables xudingding Linux - Security 6 10-13-2005 02:30 PM
Iptables ate start-up martincho Linux - Networking 1 09-28-2005 02:14 PM
problem with iptables start ganesh_bhai Linux - Security 4 05-04-2005 04:12 AM

All times are GMT -5. The time now is 05:10 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration