LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

fwmark with port set to :0

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: fwmark with port set to :0
From: Leonard Soetedjo <Leonard@xxxxxxxxxx>
Date: Tue, 17 Dec 2002 15:45:29 +0800
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?


<Prev in Thread] Current Thread [Next in Thread>