git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2036 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
@ -2,6 +2,7 @@
*) 2003-12-21 (2.0.0-rc3 - 2.0.0-rc4)
- added powerpc kernel26 disable list
- added clamp-mtu and masquerade itables rocknet keywords
*) 2003-12-20 (2.0.0-rc3 - 2.0.0-rc4)
@ -53,3 +53,13 @@ public_drop() {
iptables_init_if
}
public_clamp_mtu() {
addcode up 1 6 "iptables -I FORWARD -p tcp --tcp-flags SYN,RST SYN \
-j TCPMSS --clamp-mss-to-pmtu"
public_masquerade() {
addcode up 1 6 "iptables -t nat -A POSTROUTING -o $if \
-j MASQUERADE"
xxxxxxxxxx