Hi!
I want to connect 2 slackware 10.0 machines (crossover cable), but I dont know how to edit the rc.modules. I am trying to uncomment these lines
EXTERNAL=eth0
INTERNA=eth1
echo 1 > /proc/sys/net/ipv4/id_forward
echo "Setting up NAT (Network Address Translation)..."
# by default, nothing is forwarded.
iptables -p FORWARD DROP
# Allow all connections OUT and only related ones IN
iptables -A FORWARD -i $EXTERNAL -o $INTERNAL -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A FORWARD -i $INTERNAL -o $EXTERNAL -j ACCEPT
# enable MASQUERADING
iptables -t nat -A POSTROUTIGN -o $EXTERNAL -j MASQUERADE
I have an ADSL Internet connection (dinamic ip), that comes from... eth0? I want to share this connection through... eth1??
In the other machine, that will receive the shared connection, what should I do?! Uncommenting these lines too? 'ifconfig'? 'route'?
txs in advance.. sorry my bad english