On Tue, Dec 17, 2002 at 03:45:29PM +0800, Leonard Soetedjo wrote:
> Hi,
>
> >From the HOWTO, when using fwmark, I can set the port to be 0. Is this
> correct? Is it ok if I do that for a single port service such as telnet?
>
> for example
> iptables -t mangle -A PREROUTING -i eth0 -p tcp -s 0/0 -d VIP --dport telnet
> -j MARK --set-mark 1
> ipvsadm -a -f 1 -r RS1:0 -g -w 1
>
> Is the use of "0" not important? i.e. I can set to whatever I want?
Of the top of my head, the port is completely ignored by ipvsadm,
so yes you can use whatever you want, it won't make any difference.
--
Horms
|