|
|
@ -145,7 +145,7 @@ bool IPTRule::isForward() const {
|
|
|
|
m_target == "RETURN" || m_target == "REJECT" ||
|
|
|
|
m_target == "RETURN" || m_target == "REJECT" ||
|
|
|
|
m_target == "MIRROR" || m_target == "SNAT" ||
|
|
|
|
m_target == "MIRROR" || m_target == "SNAT" ||
|
|
|
|
m_target == "DNAT" || m_target == "REDIRECT" ||
|
|
|
|
m_target == "DNAT" || m_target == "REDIRECT" ||
|
|
|
|
m_target == "MASTQUERADE" || m_target == "MARK" ||
|
|
|
|
m_target == "MASQUERADE" || m_target == "MARK" ||
|
|
|
|
m_target == "TOS" ) {
|
|
|
|
m_target == "TOS" ) {
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
@ -178,7 +178,7 @@ TQStringList IPTRule::availableTargets() const {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if ( table == Constants::NatTable_Name && name == Constants::PostRoutingChain_Name )
|
|
|
|
if ( table == Constants::NatTable_Name && name == Constants::PostRoutingChain_Name )
|
|
|
|
targets << "MASTQUERADE";
|
|
|
|
targets << "MASQUERADE";
|
|
|
|
|
|
|
|
|
|
|
|
if ( table == Constants::MangleTable_Name ) {
|
|
|
|
if ( table == Constants::MangleTable_Name ) {
|
|
|
|
targets << "MARK" << "TOS";
|
|
|
|
targets << "MARK" << "TOS";
|
|
|
|