|
Please help me with iptables configuration
Hello,
I need to configure a firewall and this I want to do with iptables. Now I need some help with portforwarding on a linux-computer.
The eth0 port resolves it's IP with dhcp and is connected to the internet. No problems with that.
The eth1 is connected to my webserver. I want only port 80 forward to this computer (NAT routing / DMZ zone). The webserver does not need any other service.
IP: 192.168.0.1 (subnet: 255.255.255.248) - Linux (Ubuntu) machine
The eth2 is connected to a (private) lan. Only traffic form these computers to the internet is allowed. The IP of this interface is on the next subnet. So it's ip is 192.168.0.9 and the subnet is the same as the eth1 port.
Can someone please help me to configure this firewall. Thanks in advantage.
|