LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-10-2013, 06:10 AM   #1
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 651

Rep: Reputation: 34
why do we need to enable iptables -p 50 and 51


Hi hop this is not a silly question

I am trying to configure a iptable firewall and it has an entry as below

-A INPUT -p 51 -j ACCEPT
-A INPUT -p 50 -j ACCEPT

Why do I need to allow these protocols?

Thanks and Regards
 
Old 10-10-2013, 09:40 AM   #2
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
http://compnetworking.about.com/od/t...ports_gl50.htm

a fast google search could of provided you that exact link.
 
Old 10-10-2013, 11:47 AM   #3
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
You don't say on what type of box this is or usage, but I don't have those rules accepted on either server or laptop and everything works fine.
 
Old 10-10-2013, 12:14 PM   #4
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 651

Original Poster
Rep: Reputation: 34
Hi Guys thank you

I did googled but the answers are not what I was looking for and I found this below link
http://www.iana.org/assignments/prot...-numbers.xhtml
and this tells

50 ESP Encap Security Payload [RFC4303]
51 AH Authentication Header [RFC4302]

and Lleb you link says

50 TCP UDP Remote Mail Checking Protocol (RMCP)RFC 1339
51 TCP UDP IMP Logical Address Maintenance

I am totally confused

This was our old firewall and this and using NAT forwared our support to attend customer support (login to customer sites) and Filtering, and this was used to forward Mail traffic to our mail relay once but not any more.

This a Redhat 6.3 (64bit) box

Thanks and Regards
 
Old 10-10-2013, 05:54 PM   #5
0.o
Member
 
Registered: May 2004
Location: Raleigh, NC
Distribution: Debian, Solaris, HP-UX, AIX
Posts: 208

Rep: Reputation: 35
Quote:
Originally Posted by procfs View Post
Hi Guys thank you

I did googled but the answers are not what I was looking for and I found this below link
http://www.iana.org/assignments/prot...-numbers.xhtml
and this tells

50 ESP Encap Security Payload [RFC4303]
51 AH Authentication Header [RFC4302]

and Lleb you link says

50 TCP UDP Remote Mail Checking Protocol (RMCP)RFC 1339
51 TCP UDP IMP Logical Address Maintenance

I am totally confused

This was our old firewall and this and using NAT forwared our support to attend customer support (login to customer sites) and Filtering, and this was used to forward Mail traffic to our mail relay once but not any more.

This a Redhat 6.3 (64bit) box

Thanks and Regards
The -p defined the protocol, not the port. Those two protocols allow VPN access. You most likely had s2s VPNs setup.
 
1 members found this post helpful.
Old 10-10-2013, 09:11 PM   #6
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
good catch O.o
 
Old 10-14-2013, 02:19 AM   #7
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 651

Original Poster
Rep: Reputation: 34
Hi O.o thanks you just the information that I was looking for, yes we had a tunnel to one of our customer sites

Thank you guys for helping

Best Of regards
 
  


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
How to enable routing using IPTABLES manuel19 Linux - Networking 1 06-17-2012 05:55 AM
iptables, enable rdp only srs2000 Linux - Newbie 5 07-16-2009 10:34 AM
how to enable multicast broadcasting with iptables? mac1234mac Linux - Networking 2 06-21-2006 06:31 AM
iptables- enable davidhk Linux - Security 2 09-04-2005 03:43 PM
how do I enable logging in iptables for FC2? alizard Linux - Security 5 03-06-2005 06:18 AM

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

All times are GMT -5. The time now is 10:28 AM.

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