24/07/2003, 16:07
|
| | | Fecha de Ingreso: junio-2003 Ubicación: Misiones
Mensajes: 37
Antigüedad: 21 años, 4 meses Puntos: 0 | |
Escribi lo que me dijiste en la consola y me dio el error siguiente:
usr/sbin/ipmasqadm: No such file or directory
El Script del firewall dice lo siguiente:
#!/bin/sh
#
# Coyote Firewall Startup Script
# called by: etc/rc.d/rc.inet, /etc/ppp/ip-up, /etc/dhcpc/dhcpc.updown
logger -p daemon.info -t rc.firewall "Firewall script called with: ${@}"
PATH=$PATH:/usr/sbin
# Load Coyote variables
if [ -z "$CONFIG_LOADED" ]; then
. /etc/coyote/coyote.conf
fi
if [ -e /tmp/netsubsys.state ]; then
. /tmp/netsubsys.state
fi
IF_INET=$1
if [ -z "$IF_INET" ]; then
if [ "$INETTYPE" != "PPPOE" ] && [ "$INETTYPE" != "PPP" ]; then
IF_INET=eth1
else
IF_INET=ppp0
fi
fi
IPADDR=`getifaddr $IF_INET`
# Block traffic that is not part of an existing connection or part
# of a permitted ACL list
iptables -D INPUT -i $IF_INET -m state --state NEW -j DROP 1>/dev/null 2>&1
iptables -A INPUT -i $IF_INET -m state --state NEW -j DROP
iptables -D FORWARD -i $IF_INET -m state --state NEW -j DROP 1>/dev/null 2>&1
iptables -A FORWARD -i $IF_INET -m state --state NEW -j DROP
iptables -F remote-admin
# Remote Admin allowed ports
iptables -A remote-admin -i $IF_INET -p tcp --sport 1024: --dport 22 -j ACCEPT
# Activate IP Masquerading - You can comment this line out to use Coyote as
# as a true IP router. The masq script switches the default forwarding
# policy to DENY (to prevent non-masq'ed routing) and establishes masquerading.
. /etc/rc.d/rc.masquerade $IF_INET
Decis que le agregue esas lineas al final ?
Gracias.
PD: No las conozco, pero el apellido me suena bastante. |