RE: iptables confusion

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

 



thanks for that - i confused myself trying to figure out which was which ;o

 

Jeff

 

 

On Fri, 16 Apr 2004 16:45:13 -0400, Jason Staudenmayer wrote:
> it would be the destination.
>
>
> -----Original Message-----
> From: Jeff [mailto:jeff@xxxxxxxxxx]
> Sent: Friday, April 16, 2004 4:31 PM
> To: redhat-list@xxxxxxxxxx
> Subject: iptables confusion
>
>
> Hi All,
>
>
> Quick question regarding iptables - I have traffic shaping set up
> and need to change the rules below. I need to give people accessing
> my website a LOWER priority than me accessing external sites. I.E -
> requests coming into this box on port 80 need a lower priority than
> my outbound requests on port 80.
>
>
> I know i need to change one of the following lines but not sure how
> iptables works out source and destination ports.
>
>
> Current ruleset gives ALL http traffic a high priority...
>
>
> iptables -t mangle -A POSTROUTING -p tcp -m tcp --dport 80 -j MARK -
> -set-mark 0x5
>
>
> iptables -t mangle -A POSTROUTING -p tcp -m tcp --sport 80 -j MARK -
> -set-mark 0x5
>
>
> which line needs changing?
>
>
> Thanks
>
>
> Jeff


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux