Internet connection share with iptables

Matt Morgan minxmertzmomo at
Wed Nov 14 14:41:33 UTC 2007

On Nov 14, 2007 7:36 AM, Shu Hung (Koala) <koalay at> wrote:
> Hello all,
> I'm using GPRS on my notebook. And I want to share my internet with some
> computers on the same switch. I made a script with reference to wiki. But it
> didn't work. After running the script, other PCs can ping my notebook from
> but not any external IPs. While my notebook can visit external
> websites normally.
> The below is my script. Please tell me what's wrong with it. Thanks!!!!
> Koala Yeung


Sorry, I don't know enough about iptables to answer your question
directly. But whenever I've set up routing, I've followed the
instructions at

It's written for Fedora, but is probably identical (or nearly so) in Ubuntu.

More information about the ubuntu-users mailing list