LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-16-2011, 02:44 PM   #1
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,033

Rep: Reputation: 69
A question about some rules in centos ipables...


I'm confused as to what protocols 50 and 51 are.

Code:
-A RH-Firewall-1-INPUT -p 50 -j ACCEPT
-A RH-Firewall-1-INPUT -p 51 -j ACCEPT
The '-p' option is not for a network port but for a protocol. I've never heard of 50 and 51 protocols.
What are they? What are they used for?
 
Old 06-16-2011, 02:50 PM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 309Reputation: 309Reputation: 309Reputation: 309
Quote:
re-mail-ck 50/tcp # Remote Mail Checking Protocol
re-mail-ck 50/udp
look at /etc/services
 
Old 06-16-2011, 03:26 PM   #3
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,033

Original Poster
Rep: Reputation: 69
Those are ports, not protocols.
 
Old 06-16-2011, 03:45 PM   #4
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 309Reputation: 309Reputation: 309Reputation: 309
Sorry I need to learn to read a little bit better.

Protocols 50 and 51 deal with VPN services.

Bug 181397 - clean install ports left open in iptables
https://bugzilla.redhat.com/show_bug.cgi?id=181397
 
Old 06-16-2011, 09:15 PM   #5
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,033

Original Poster
Rep: Reputation: 69
Ah ok I see, thanks.
 
Old 06-16-2011, 09:29 PM   #6
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 309Reputation: 309Reputation: 309Reputation: 309
You're welcome.
 
  


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 rules question... fw12 Linux - Security 4 02-25-2007 11:11 PM
ipables - difference between dscp and tos? Infernal211283 Linux - Networking 2 01-11-2006 12:59 AM
Ipables problems Junior24 Linux - Security 1 12-13-2004 12:26 PM
IPables tutorial or manuals? Noryungi Slackware 6 07-26-2003 05:26 PM
Firewall rules question 65_289 Linux - Security 1 02-02-2003 08:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:49 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