Last change
on this file since 390 was
223,
checked in by presbrey, 17 years ago
|
LVS: do not load-balance SMTP
|
-
Property svn:executable set to
*
|
File size:
554 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | ## Joe Presbrey <presbrey@mit.edu> |
---|
3 | ## SIPB Scripts LVS Firewall marks |
---|
4 | |
---|
5 | iptables -F -t mangle |
---|
6 | |
---|
7 | # scripts.mit.edu |
---|
8 | iptables -A PREROUTING -t mangle -m tcp -m multiport -p tcp -d 18.181.0.46/31 --dports 80,443 -j MARK --set-mark 2 |
---|
9 | iptables -A PREROUTING -t mangle -m mark --mark 0 -d 18.181.0.46/31 -j MARK --set-mark 1 |
---|
10 | |
---|
11 | # scripts-cert.mit.edu |
---|
12 | iptables -A PREROUTING -t mangle -m tcp -m multiport -p tcp -d 18.181.0.50/31 --dports 80,443 -j MARK --set-mark 2 |
---|
13 | iptables -A PREROUTING -t mangle -m mark --mark 0 -d 18.181.0.50/31 -j MARK --set-mark 1 |
---|
Note: See
TracBrowser
for help on using the repository browser.