confusion with dport and sport

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I have found that TOS is helpful for traffic shaping. But some guide use
--sport where other use --dport the handle the same thing hence I am
very confusd !!
To get a good response from the ssh running on a remote server the rule
can be placed in the remote server can be

``````````````````
iptables -t mangle -A PREROUTING -p tcp --dport  $SSH_PORT -j TOS
--set-tos Minimize-Delay
`````````````````````

BUT some site do the same by replacing --dport to --sport

Which one should be the right value ? Please enlighten me.
Thanks
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux