Hi, I have a small problem.
I have to make all the Network Traffic go by a Gentoo Box with Iptables.
But I have no idea what to Google to find information about how to do that..
So basicly the system is like this:
Inet - Zywall - Webserver - <GENTOO, This one> - MicroSoft SBS - Desktops
How can I setup that Gentoo box?
What do I have to Google?
Since I really have no idea..
WhooWhoo I think I nearly control IPtables now.. ^^
Though I can only edit the Config File :P I know I shouldnt change it in that way.
But hey it works. And I understand it.. So what the ;)
I still have a couple of Questions about it though.
Id like to know if there is a Certificate like "Certificated iptables Technician" or a Good book about it. Since well I understand how it works and stuff. But I know for sure there are some cool tricks I dont know yet. (Like putting the Always - Drop as last Rule in every chain ;))
Also Id like to know were the Logs are Saved?
Since there isnt a iptables file in the /var/log/ dirs.
Oh and when I open the config file I see the names of the chains eg. INPUT [0:0] what does the [0:0] mean? And I also like to know if there is a way to Filter Destination MAC adres. Since I have no clue how to do that. And when i google for that I get something that just doesnt work.. (eg. iptables -A INPUT -m mac --mac-source 00:0F:EA:91:04:08 -j DROP)
And well I still have my first problem. The one with the netting. I think I have to do that with Redirecting or something but I really have no idea how to google for the problem..
Well, is there anyone who can answer nearly all my Questions?
Or knows a good online Tutorial? Or a Book or a course about IPtables?
Since this one is really good.. ^^
I still have no idea how to do it..
Have been looking and asking around.
No Luck Though.
Check out this web site. You should be able to find all your answers here
Thanks alot ^^
But what is it called to do this:
192.168.24.1 <---Firewall---> 192.168.42.100
Not sure i understand your question.
Routing comes to mind when passing packets from one interface/host o another.
Oh yea ofc.
I have a network on the one side and another on the other one
witha Diffrent IP range Sever so.
I not a linux pro but as far as I know the term is Dual Subnet.
After googling abit and stuff I think its called NAT and not Dual Subnet.
Dual Subnet. is that you have a Diffrent Subnet on two sides right?
NAT is sharing one IP with eachother so thats not what I really want aswell.
So, well I want to do the following thing:
(WAN) Wire -> NIC (Eth0) -> IPtables Filtering Junk Out -> NIC (Eth1) -> Wire (LAN)
(I know its kinda offtopic but while reading I also got intrested into Squid. Is there also such a great tutorial of?)