smeserver-packetfilter/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90InboundTCP99Finish

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
}