I'm pretty sure you have to masquerade your packets in order for them to pass through wrap.
Try to add a simple masquerade:
wrap ~# iptables -t nat -A POSTROUTING -s 192.168.3.0/24 -o ath1 -j MASQUERADE
or SNAT which is equivalent but used only if ath0 has static ip
wrap ~# iptables -t nat -A POSTROUTING -s 192.168.3.0/24 -o ath1 -j SNAT --to-source 192.168.2.2
login to post comments

Tue, 2007-06-19 11:41
Joined: 2007-06-08