Internet connection share with iptables

Christian Stefanescu st.chris at gmail.com
Wed Nov 14 14:49:30 UTC 2007


I'd recommend Firestarter for a painless config:
http://www.fs-security.com/docs/connection-sharing.php It is a very capable
GUI for configuring anything iptables-related.

If you still want to tinker with iptables, I recommend you use this site:
http://easyfwgen.morizot.net/gen/ It basically generates a script
personalized for your settings.

Good luck with these!
Chris

On Nov 14, 2007 4:41 PM, Matt Morgan <minxmertzmomo at gmail.com> wrote:

> On Nov 14, 2007 7:36 AM, Shu Hung (Koala) <koalay at gmail.com> 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
> > 192.168.40.1 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
>
> [snip]
>
> 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
>
> http://www.brennan.id.au/06-Firewall_Concepts.html
>
> It's written for Fedora, but is probably identical (or nearly so) in
> Ubuntu.
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>



-- 
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20071114/8fc31409/attachment.html>


More information about the ubuntu-users mailing list