Hi.
I have a 3g modem working on my linux box. Its ppp0 when its up and running. Im trying to make my laptop work as a wireless access point when I want. Using Airbase-ng and dhcpd, everything works except I cant figure out how to share the internet (ppp0) with the AP interface (at0). Ive tried:
Code:
iptables --table nat --append POSTROUTING --out-interface ppp0 -j MASQUERADE
iptables --append FORWARD --in-interface at0 -j ACCEPT
The at0 interface is a 10.0.0.0/24 network and its IP is 10.0.0.1
Id appreciate any help.
Thanks!
Scrag