Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Help with iptables LOG


    Hello guys,

    i a running a Linksys WRT54G router with updated firmware which runs Linux (BusyBox). The router is also the DHCP, DNS server and firewall of my network. My network is on the 192.168.1.0/24 subnet and the router's ip is 192.168.1.1

    Is it possible to use iptables and the -j LOG function so i can monitor the bandwidth a specific host in my network is using?

    I have tried:

    iptables -A OUTPUT -p all -s 192.168.1.152 -j LOG

    but it seems to be wrong because i get 0 Mb bandwidth.

  2. #2
    Linux Newbie framp's Avatar
    Join Date
    Jul 2006
    Location
    Stuttgart, Germany
    Posts
    240
    Try -I instead of -A
    "Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." Linus Benedict Torvalds

Posting Permissions

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