-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

devesh  writes:
> Hi,

> I have a usb based Tata Indicom connection which serves me as ppp0. I want
> to share this connection on another machine. What I did :

> 1. Start ppp0 on my pc.
> 2. Connect eth0 to LynkSys router(wifi).
> 3. Start Nat (http://www.aboutdebian.com/proxy.htm ,  2nd fig is my case!!!)
> 4. ppp0 has some dynamic address and eth0 has static (192.168.1.x with
> no-gateway)

If you're using rp-pppoe, it provides different firewall profiles
(depending on your requirement) which can be activated at the time of
connection. For more information, check out: pppoe-setup .

OR

After activation of ppp0, you can execute following:

# sysctl net.ipv4.ip_forward=1
# iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE

> Whats problem:
> 1. when i do :  ping google.com -I etho   NO RESPONSE (doesnt work)

That won't work because eth0 doesn't route to internet. 

> while it works when i do : ping google.com -I ppp0

> Please show me the route!!!

default via ppp0

Ashish
- -- 
·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAki458IACgkQHy+EEHYuXnRTmwCgjv2830Z6l4L6IXKwjjrDEOYq
2ZAAn0OhTlgOnxZUhCOWCH1HHyd025z0
=hONJ
-----END PGP SIGNATURE-----

_______________________________________________
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/

Reply via email to