Changeset 2522 for branches/fc19-dev/lvs/debian/config/etc/network
- Timestamp:
- May 25, 2014, 3:55:57 PM (11 years ago)
- Location:
- branches/fc19-dev
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/fc19-dev
- Property svn:mergeinfo changed
/trunk merged: 2490-2494,2496-2521
- Property svn:mergeinfo changed
-
branches/fc19-dev/lvs/debian/config/etc/network/if-up.d/iptables
r1792 r2522 32 32 # scripts-primary.mit.edu goes to the primary (FWM 1) on all ports 33 33 iptables -A PREROUTING -t mangle -d 18.181.0.182 -j MARK --set-mark 1 34 35 # sipb.mit.edu acts like regular scripts, except ftp goes to i-hate-penguins.xvm.mit.edu (FWM 4) 36 iptables -A PREROUTING -t mangle -m tcp -m multiport -p tcp -d 18.181.0.29 --dports 80,443,444 -j MARK --set-mark 2 37 # Also send port 25 there too because the IP is shared with rtfm.mit.edu (fix this after renaming the machine) 38 iptables -A PREROUTING -t mangle -m tcp -m multiport -p tcp -d 18.181.0.29 --dports 20,21,25 -j MARK --set-mark 4 39 # All else to the primary 40 iptables -A PREROUTING -t mangle -m mark --mark 0 -d 18.181.0.29 -j MARK --set-mark 1
Note: See TracChangeset
for help on using the changeset viewer.