Changeset 1199


Ignore:
Timestamp:
Jun 17, 2009, 12:50:53 AM (15 years ago)
Author:
quentin
Message:
Give finger port to the LVS directors
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lvs/debian/config/etc/network/if-up.d/iptables

    r1184 r1199  
    2020# Send SMTP-bound traffic to FWM 3 (load-balanced)
    2121iptables -A scripts -t mangle -m tcp -p tcp --dport 25 -j MARK --set-mark 3
     22# Send finger-bound traffic to FWM 255 (the LVS director itself)
     23iptables -A scripts -t mangle -m tcp -p tcp --dport 79 -j MARK --set-mark 255
    2224# Send everything else to FWM 1 (primary)
    2325iptables -A scripts -t mangle -m mark --mark 0 -j MARK --set-mark 1
Note: See TracChangeset for help on using the changeset viewer.