LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-19-2016, 03:05 PM   #1
cajunchief
Member
 
Registered: Sep 2010
Posts: 233

Rep: Reputation: 0
What does this command do for output?


To all:

What affect does this command have on output?

:OUTPUT ACCEPT [214:43782]

cajunchief
 
Old 05-19-2016, 03:09 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
1) https://wiki.centos.org/HowTos/Network/IPTables
2) http://unix.stackexchange.com/questi...es-config-file
 
Old 05-22-2016, 04:58 AM   #3
vincix
Senior Member
 
Registered: Feb 2011
Distribution: Ubuntu, Centos
Posts: 1,240

Rep: Reputation: 103Reputation: 103
It means that the OUTPUT Policy is ACCEPT. But, as AlucardZero points out, you'd better start getting to know the basics of iptables to have a better picture of how things work.
 
Old 06-15-2016, 10:38 AM   #4
cajunchief
Member
 
Registered: Sep 2010
Posts: 233

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by vincix View Post
It means that the OUTPUT Policy is ACCEPT. But, as AlucardZero points out, you'd better start getting to know the basics of iptables to have a better picture of how things work.

Vincix, thanks for your reply, but I understood the ACCEPT PART. What i should have clarrified is this part [214:43782]?

cajunchief
 
Old 06-15-2016, 10:39 AM   #5
cajunchief
Member
 
Registered: Sep 2010
Posts: 233

Original Poster
Rep: Reputation: 0
AlucardZero, thank you for the answer. I do understand about asking a smart question.

cajunchief
 
Old 06-15-2016, 12:32 PM   #6
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,776

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
Quote:
Originally Posted by cajunchief View Post
What i should have clarrified is this part [214:43782]?
Those are the packet and byte counts for that chain at the time the file was saved ("iptables-save -c").
 
  


Reply


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
Wrote Shell in C - piping output from first command to second command, sending to output file issue KarenWest Programming 2 03-31-2016 05:27 PM
Giving wrong output with sh but correct output with command entry in Ubuntu bison72 Linux - Newbie 3 10-14-2015 11:27 PM
Requests to my ISP server are output in the middle of output by any command I run. stf92 Slackware 2 07-10-2012 08:38 AM
How to redirect the output of exec command output in perl? sudhap85 Linux - Newbie 3 08-28-2009 03:35 PM
How do I parse the output of a command that output to standard out? gauol Programming 9 01-17-2008 01:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:35 PM.

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