LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-28-2003, 04:23 PM   #1
bjojoi
Member
 
Registered: Jan 2003
Location: Oslo
Distribution: Debian, Mandrake 9.0
Posts: 40

Rep: Reputation: 15
gateway with one nic


I found a thread that helped me a lot and made me fix my internet sharing, but I rebooted my server and now I can't find anything to help me (3 hours of looking is enough)

I have a linux server and 2 w2k machines. I want to connect to the internet through my debian server. I only have one nic in it and i want minimal firewall rules.

I want to fix this really fast, but I also want to learn to do it without help at a later point so if anyone could help me set this up really fast and maybe give me a link to some good pages for learning iptables and/or the name of a good book I would be very greatfull.

Linuxquestions.org must be the best site ever.

Last edited by bjojoi; 08-28-2003 at 06:05 PM.
 
Old 08-30-2003, 11:44 PM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Take a look at the documentation and tutorials on Netfiler.
http://www.netfilter.org/
 
Old 08-31-2003, 01:16 AM   #3
gundelgauk
Member
 
Registered: Jul 2003
Distribution: Gentoo
Posts: 168

Rep: Reputation: 30
This site will teach you a lot about masquerading (internet connection sharing).

If you want a real fast solution with minimal firewall rules, visit this section of the above link. There are working scripts for iptables, ipchains and even ipfwadm. You can pretty much copy them but you need to adjust certain variables as for example $EXTIF, $INTIF, $IPTABLES and so on.

Just read through it once as you copy it and adjust the necessary variables. There are also instructions on how to start your script every time your system boots up.

Good luck!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Easy Internetsharing with RH 9.0 KingDragsten Linux - Networking 15 07-15-2003 10:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration