LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-31-2004, 06:19 PM   #1
mirt
LQ Newbie
 
Registered: Mar 2004
Posts: 1

Rep: Reputation: 0
Setup linux gateway + firewall (redhat 9.0)


Hello, I need to setup a linux gateway for a lan-party. Offcourse we need to use Iptables.
More details:
we have 3 ranges : 192.168.1.0/16 (Servers) , 192.168.2.0/16 (admins), 192.168.3.0/16(gamers)

Server range : 6000:7000 tcp closed
Admin range : all open
Gamers range: all closed accept 5190tcp,4000tcp

For each user we have to know the amount of datatransfer. (just need to be shown on the screen, nothing advanced)

Are there people who can help me?

Thx a lot !!!
 
Old 04-01-2004, 05:35 AM   #2
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
192.168.x.x/16 ? all of them are in same network. how do u do that?
 
Old 04-01-2004, 12:01 PM   #3
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
The thing you are trying to set up is called superneting, expanding a class C network to a class B.
The question how to set up a firewall+router is asked over and over again at the forum. Did you make a search before posting.
I guess the answer is out there.
 
Old 04-26-2004, 08:01 PM   #4
jucks
LQ Newbie
 
Registered: Apr 2004
Posts: 1

Rep: Reputation: 0
Angry iptables

ok heres the situation,

gateway/server (redhat) 192.168.0.1 & jucks.co.uk
|
windows xp machine 192.168.0.1

the server has 2 ethernet cards, eth0 and eth1, eth0 is connected to the net, via a cable modem, and eth 1 is connected to the xp machine which has the ip 192.168.0.2,

the questions, /...

first off i need someone to help me with my iptables i need to use it as a gateway so that the xp machine can access the internet.

i was also wondering if someone could help me with this, on the windows server os's you can have domain controlders, so say my server was setup as jucks.co.uk, then i could have the xp machine as sau, inside.jucks.co.uk if ya know what i mean? could anyone help?
 
Old 04-27-2004, 01:46 AM   #5
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
have a look
http://iptables-script.dk/
 
  


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
Using Linux as a firewall/gateway Dovid Linux - Networking 4 04-21-2005 09:13 PM
Firewall Gateway Setup Problem danfiggolfer Linux - Newbie 1 01-02-2005 09:05 PM
Mandrake 10, gateway/firewall setup HOWTO zhex900 Linux - Networking 1 12-23-2004 08:47 AM
RedHat gateway setup troubles Gorchi Linux - Networking 3 03-07-2003 04:05 AM
RedHat 7.3 as Gateway/Firewall NegativeZERO Linux - Networking 6 12-02-2002 12:57 PM

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

All times are GMT -5. The time now is 10:55 AM.

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