10 lines
272 B
Plaintext
10 lines
272 B
Plaintext
{
|
|
# Having created a new Inbound TCP chain, activate it and destroy the old.
|
|
$OUT .=<<'EOF';
|
|
/sbin/iptables --replace InboundTCP 1 \
|
|
--jump $NEW_InboundTCP
|
|
/sbin/iptables --flush $OLD_InboundTCP
|
|
/sbin/iptables --delete-chain $OLD_InboundTCP
|
|
EOF
|
|
}
|