Linux - NetworkingThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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,700
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.