Results 1 to 6 of 6

Thread: Can't find IPTABLES start/stop/restart service, rules file ...

Hybrid View

  1. #1
    Just burned his ISO
    Join Date
    Dec 2011
    Posts
    3

    Angry Can't find IPTABLES start/stop/restart service, rules file ...

    New to Backtrack, but not to *nix....

    Situation:

    This is a brand new Backtrack 5 R1 install. I don't really want to use 'ufw' firewall manager for my iptables. Iptables is clearly installed, but can't find a way to start/stop/restart specifically the IPTABLES service.

    /etc/init.d/iptables (non-existent), can't service iptables restart either....none of that stuff works....

    Also where would the IPTABLES rules file reside in this distribution?

    Couldn't find anything on blogs about it either..., got so desperate that I'm posting on this blog (first time in my life I have to be missing something here...

  2. #2
    Administrator sickness's Avatar
    Join Date
    Jan 2010
    Location
    Behind the screen.
    Posts
    2,921

    Default Re: Can't find IPTABLES start/stop/restart service, rules file ...

    Why not create your own init.d script ? or your own rules ?

    Backtrack is not meant to have a firewall on it so if you really insist on it you will have to do it manually.
    Back|track giving machine guns to monkeys since 2007 !

    Do not read the Wiki, most your questions will not be answered there !
    Do not take a look at the: Forum Rules !

  3. #3
    Just burned his ISO
    Join Date
    Dec 2011
    Posts
    3

    Default Re: Can't find IPTABLES start/stop/restart service, rules file ...

    Hey,

    If backtrack is not meant to have a firewall on it, why is ufw service (utilizing iptables) is running by default? Just curious.....

    That doesn't really answer my question though. I was trying to setup SSLSTRIP attack in my environment. I'd rather not use a firewall at all, but I need to use iptables NAT table to forward traffic from port 80 to some other port, let's say 8080. IPTABLES needs to be running in order for me to forward traffic. Let me know if that assumption is incorrect.

    So that brings me to my next question, let's say that I don't want to utilize ufw service to manage my ruleset, so I turn that off, and I just want to use IPTABLES.
    Can someone show me how to properly setup IPTABLES service and rules file on Backtrack from scratch? I see a lot of posts in reference to this all over the NET but no one
    seems to be able to provide a detailed concrete working answer, such as a set of instructions from A to Z.

  4. #4
    Administrator sickness's Avatar
    Join Date
    Jan 2010
    Location
    Behind the screen.
    Posts
    2,921

    Default Re: Can't find IPTABLES start/stop/restart service, rules file ...

    UFW running by default ?

    Code:
    root@bt:~# iptables -L
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination         
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination         
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination         
    root@bt:~# ufw status
    Status: inactive
    To answer your iptables question: http://lmgtfy.com/?q=iptables+manual
    Back|track giving machine guns to monkeys since 2007 !

    Do not read the Wiki, most your questions will not be answered there !
    Do not take a look at the: Forum Rules !

  5. #5
    Just burned his ISO
    Join Date
    Dec 2011
    Posts
    3

    Default Re: Can't find IPTABLES start/stop/restart service, rules file ...

    You are still not answering my question...so let's break it down and make it easy.

    In redhat/fedora distro's you have something like this:

    'service iptables start' and the service is listed under services.

    How do I check if iptables is running in backtrack.....? What command would I issue, where is the init.d script, if there is one?
    How do I start/stop the iptables service in backtrack....?

  6. #6
    Administrator sickness's Avatar
    Join Date
    Jan 2010
    Location
    Behind the screen.
    Posts
    2,921

    Default Re: Can't find IPTABLES start/stop/restart service, rules file ...

    Well you are probably right, let's break it down and make it easy.

    1. First of you come here asking for iptables, I told you that Backtrack isn't supposed to have a firewall configured.
    2. You than state that "ufw" is enabled by default, I clearly posted the console output showing you that iptables is running by default and ufw is inactive by default.
    3. If you would have even wasted 5 minutes on google searching how to use IPtables you would have found the answer.

    Oh and the Wiki clearly states:
    BackTrack is a highly specialized distro, where a lot of normal tasks are not done automatically for you as they are in a mainstream distro.
    Back|track giving machine guns to monkeys since 2007 !

    Do not read the Wiki, most your questions will not be answered there !
    Do not take a look at the: Forum Rules !

Similar Threads

  1. Replies: 0
    Last Post: 09-01-2011, 08:57 PM
  2. ettercap e problemi sul file di configurazione iptables
    By Dezio in forum Supporto Software
    Replies: 3
    Last Post: 04-14-2010, 10:22 AM
  3. How to stop and restart genpmk
    By msuug in forum OLD Newbie Area
    Replies: 1
    Last Post: 07-17-2009, 07:48 PM
  4. can i stop airolib-ng and restart it later?
    By cr1spyj0nes in forum OLD Wireless
    Replies: 1
    Last Post: 03-19-2009, 02:36 PM
  5. KNetwork Manager OK but manual start of service
    By @tomX in forum OLD BT4beta Bugs and Fixes
    Replies: 2
    Last Post: 02-13-2009, 12:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •