LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 11-22-2014, 01:15 PM   #1
nick1976
LQ Newbie
 
Registered: Nov 2014
Posts: 5

Rep: Reputation: Disabled
source port and destination ports used in iptables


Hello to all
My question is about source and destination ports used in iptables.
Are they both associated with all the chains or just the input or output chains?
Is source port associated with Input chain and destination port with output chain?
Thanks

Last edited by nick1976; 11-22-2014 at 01:17 PM.
 
Old 11-22-2014, 02:39 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,148

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
Nope. They are just fields in the packet.
 
  


Reply



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
[SOLVED] PORTS: How do I, force all traffic out on 80 then to their intended destination port? borgy95 Linux - Networking 2 07-19-2013 07:26 AM
what is outgoing/outbound connection source port & destination port ? linuxcenter Linux - Newbie 2 06-25-2013 05:00 AM
source\destination ports toma20082010 Linux - Newbie 7 03-09-2011 07:11 PM
--destination-ports port[,port[,port...]] KevinGuy Linux - Networking 1 03-16-2004 06:06 PM
IPTABLES --to-destination muliple ip:port hawk4eye Linux - Networking 4 02-07-2003 04:59 AM

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

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