Howto Make a gateway with iptables rules?
Hi,
I have a linux redhat9.0 - I want to create an gateway between our
sections and central site.
It have 4 ethernet cards. 2 cards for internal LANs with 2 invalid sunbet 192.168.101.x and 192.168.102.x range. 3th card for intranet use such connect to our web-server or email-server, 4th card for internet connection and when they want go to internet.i want also close all extra ports and close udp + icmp protocols.
How i could do this with IPTABLES Rules? Anybody have such this schema? Any help would be appriciated
thanks a lot,
mojgan
--
Quoted 10 lines · masroor
Hi,
I have a linux redhat9.0 - I want to create an gateway between our
sections and central site.
It have 4 ethernet cards. 2 cards for internal LANs with 2 invalid sunbet 192.168.101.x and 192.168.102.x range. 3th card for intranet use such connect to our web-server or email-server, 4th card for internet connection and when they want go to internet.i want also close all extra ports and close udp + icmp protocols.
How i could do this with IPTABLES Rules? Anybody have such this schema? Any help would be appriciated
Oskar Andreasson's netfilter tutorial at
http://iptables-tutorial.frozentux.net should tell you most, if not all, of what you need to know.
If you have any specific questions after getting as far as you can with that, feel free to come back and ask here.
Regards,
Antony.
(Yes, I know this is the same answer as I gave this morning, but then, it's the same quesion.)
Signature · 5 lines
What makes you think I know what I'm talking about?
I just have more O'Reilly books than most people.
Please reply to the list;
please don't CC me.Re: Howto Make a gateway with iptables rules - An alternative.
Quoted 1 line
Quoted 1 line
How i could do this with IPTABLES Rules? Anybody have such this schema?
To make life easier for those who might appreciate it; you will still have to do it yourself, but there are nice examples, and graphically it is much easier to maintain overview:
Graphical interface for setting up all you can dream of, can take many forms of rulesets and platforms.
Good luck,
Marnix
---
Outgoing DaemonLabs.com E-Mail is Certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.619 / Virus Database: 398 - Release Date: 10-Mar-04