I’m doing test for nat-router in backtrack 5.From Backtrack 5, it’s likely to ping the access point and the inner machine. - But the inner device unable to ping to outside world
Code:AP/Router: 192.168.0.1 BT/WLAN0: 192.168.0.100 BT/eht0: 192.168.1.5 internal machine: 192.168.1.99 Settings on BT: # echo 1 > /proc/sys/net/ipv4/ip_forward # iptables -t nat -A POSTROUTING -s 192.168.1.0/255.255.255.0 -o wlan0 -j SNAT --to-source 192.168.0.100
Bookmarks