How to Share ppp connection over wifi
Hi guys am quite new here and am still a noob as far as linux networking goes so i need a bit of helping hands . I have a 3g modem and can connect to it using wvdial, ie it connects over ppp0. I was wondering has anyone managed to share a 3g connection using the wireless card of their laptop .
my laptop uses Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02) Any help would be great, Regards, |
You should be able to turn on forwarding (echo 1 > /etc/sys/net/ipv4/ip_forward) and set the other computer to using the laptop as its default route. Then just masquerade anything going out the ppp0 interface (iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE)
|
All times are GMT -5. The time now is 05:28 PM. |