Hola muchachos hace mas de 2 semanas que vengo haciendo pruebas en la mesh,
les explico como tengo montada la prueba
1- tengo un equipo como gateway
2- tengo un equipo como cliente
Lo que quiero es poder llegar al equipo cliente desde equipo gateway
Lo raro es que al revez llego, es decir los pines desde cualquier interfaz
(cliente--gateway) llegan bien pero (gateway--cliente) no. Lo unico que es
reciproco son los pines a la ip de la mesh 5.X.X.X.
Borre las reglas de Iptables por las dudas, pero no pude solucionarlo, habra
que crear alguna regla nueva???
Aca les paso en un adjunto lo que me arrojan los comandos iptables -t nat -L
y route -n de cda equipo
Gracias
#######################GATEWAY#######################################
iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
REDIRECT tcp -- 169.254.0.0/16 anywhere tcp dpt:53 redir
ports 53
REDIRECT udp -- 169.254.0.0/16 anywhere udp dpt:53 redir
ports 53
REDIRECT tcp -- anywhere anywhere tcp dpt:53 redir
ports 53
REDIRECT udp -- anywhere anywhere udp dpt:53 redir
ports 53
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
SNAT all -- anywhere anywhere to:192.168.1.22
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.2.49.128 0.0.0.0 255.255.255.192 U 0 0 0 ath1
10.2.49.0 0.0.0.0 255.255.255.128 U 0 0 0 ath0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.252.0 U 0 0 0 bat0
5.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 ath2
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
#######################CLIENTE ##########################
iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
MASQUERADE all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.2.54.128 0.0.0.0 255.255.255.192 U 0 0 0 ath1
10.2.54.192 0.0.0.0 255.255.255.192 U 0 0 0 eth0
10.2.54.0 0.0.0.0 255.255.255.128 U 0 0 0 ath0
5.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 ath2
_______________________________________________
Nightwing mailing list
[email protected]
http://lugro.org.ar/mailman/listinfo/nightwing