dialog broadband dongle<====> acer 4741 laptop running Ubunthu <====> Destkop computer Foxconn G31
I have set the iptables in my ubunthu machine but it still didn't seems to be working.
on acer laptop I got /dev/ppp0 as my broadband internet connection and , /dev/eth0 going to the desktop computer.
I've setup 192.168.137.1 for acer laptop eth0 and 192.168.137.2 for my Android Desktop computer.
I could ping from android machine to laptop and laptop to android machine too. But I could not ping to
8.8.8.8 nameserver on the internet.
Code: Select all
root@sandun-Aspire-4741:/home/sandun# iptables -t nat -A POSTROUTING -o ppp0 -j SNAT --to-source 192.168.137.2
service in ubunthu here. Any idea how to overcome this?