LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 04-10-2012, 04:45 PM   #1
veggen
LQ Newbie
 
Registered: Apr 2012
Posts: 5

Rep: Reputation: Disabled
Need help on two iptables related commands


I have the following two commands dealing with iptables that I don't fully understand. Can someone help me a bit?

iptables -A INPUT -i lo -j ACCEPT
iptables -A OUTPUT -o lo -j ACCEPT

Thanks!
 
Old 04-10-2012, 04:52 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
That iptable rule is saying to accept any incoming or outgoing connections on the loopback interface. Loopback is the 127.0.0.1 which routes back to your computer/server.
 
Old 04-10-2012, 07:16 PM   #3
veggen
LQ Newbie
 
Registered: Apr 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Oh, alright then. Thanks a lot!
 
  


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
iptables related problem Barq Linux - Networking 2 06-21-2009 06:16 AM
Port related commands xeonx Linux - General 3 05-27-2009 09:21 PM
iptables related vasanthraghavan Linux - Networking 1 10-27-2005 12:45 PM
A confused newbie - startx and other related commands Godsmacker777 Linux - Newbie 2 01-27-2005 01:40 PM
System Related Commands shivprasad Linux - Certification 1 09-16-2004 09:08 AM

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

All times are GMT -5. The time now is 06:10 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration