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

    What does this mean in iptables?


    I been having trouble figuring out what this means in one of my servers iptables. Maybe someone can explain it to me.

    Code:
    Chain OUTPUT (policy ACCEPT)
    num    target      prot    opt    source              destination
    1      DOCKER      all     --     0.0.0.0/0           !127.0.0.0/8       ADDRTYPE match dst-type LOCAL
    The exclamation point is throwing me off. Is that similar to "NOT"? And is this required by DOCKER?

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    13,810
    Read the iptables man page. It has some information about the use of the '!' operator that may help you figure this out.

    FWIW, Docker shouldn't require iptables at all unless you want the containers to have an internet presence.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    I thought I read through the man page but didn't find it, but there it was. Thanks.

  4. $spacer_open
    $spacer_close

Posting Permissions

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