HowtoConnect to BeagleBone
Para configurar los DNS
agregar
----- nameserver 8.8.8.8
Para configurar la ruta muerta
route add default gw 192.168.7.1
En el linux utilizamos la instrucción para dejar pasar el tráfico
echo 1 > /proc/sys/net/ipv4/ip_forward
Then you'll need to configure iptables to forward the packets from your internal network, on /dev/eth1, to your external network on /dev/eth0. You do this will the following commands:
# /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
# /sbin/iptables -A FORWARD -i eth0 -o eth1 -m state
--state RELATED,ESTABLISHED -j ACCEPT
# /sbin/iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT
Comentarios
Publicar un comentario