Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-03-2006, 09:33 PM
|
#1
|
|
LQ Newbie
Registered: Jul 2003
Location: Sydney, Aus
Distribution: Debian (Prefered), Ubuntu, Redhat, Fedora
Posts: 22
Rep:
|
configuring LAN + DMZ through IPTables with an ADSL Connection.
hi all
I'm trying to build a firewall in debian 3.1 using IP Tables. I am currently using Endian Firewall Community edition and it works great but i wish to learn more about iptables and theres no way of learning something quite like doing it yourself.
i've never used IP tables before so all the lingo of chains and tables isn't making much sense.
here is my network structure.
>>>>>>>>>>DMZ
^
Net>>>>Firewall>>>>>LAN
the firewall will be configured as follows.
eth0 > ADSL connection
eth1 > LAN
eth2 > DMZ
if someone would be able to point me in the right direction to some good documentation or if its simple enough to show me what to do that would be great. I host my own website and email server so all i wish to do is allow a few ports in and most of them out. not allowing anything into the LAN network at all.
if this is something rather simple please kick me in the backside for not knowing this already.
thanks alot.
Braytac
PS sorry if the formatting of my diagram above comes out looking odd. it looked correct when i wrote the post.
Last edited by Braytac; 10-04-2006 at 12:19 AM.
|
|
|
|
10-04-2006, 04:15 PM
|
#2
|
|
LQ Newbie
Registered: Nov 2004
Posts: 18
Rep:
|
Hi,
Please find the below link for good documentation.
http://www.iptablesrocks.org/
Thanks & Regards
jaz_comp
|
|
|
|
10-04-2006, 04:19 PM
|
#3
|
|
Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,697
Rep:
|
Check out this page. http://www.linuxguruz.com/iptables/
There are some scripts and the one that multi-homed should be what you are after. Use it myself for a start with 5 nic setup. Currently only using 4. The fourth is the wireless side. 5th was for second channel internet bonding. Never got it quite right yet.
If you mean ipchains and iptables. They are two completely seperate packet filtering tools. iptables is used on newer 2.4 and current 2.6 kernels. ipchains was in maybe early 2.4 and 2.2 kernels. ipfrwd I think was in 2.0 kernels.
Brian
|
|
|
|
10-06-2006, 05:57 AM
|
#4
|
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 12.3_64-KDE, Ubuntu 12.04, Fedora 17, Mint 14, Chakra
Posts: 3,522
Rep: 
|
I found this quite instructve:
http://iptables-tutorial.frozentux.n...-tutorial.html
as it explains a lot of the basics.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:53 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|