LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I set-up a firwall without NAT w/ iptables v1.2.8 - kernel 2.4.22? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-set-up-a-firwall-without-nat-w-iptables-v1-2-8-kernel-2-4-22-a-188496/)

fleeingduck 06-01-2004 01:29 PM

How do I set-up a firwall without NAT w/ iptables v1.2.8 - kernel 2.4.22?
 
I am running Slack 9.1 with kernel 2.4.22. I have previously setup a firewall on a redhat box using iptables, worked fine; however I was using network address translation. I would like to create a firewall that will not use network address translation. I thought all I would have to do would be to

1. configure two network interfaces on the same subnet.
2. echo 1 >/proc/sys/net/ipv4/ip_forward.
3. Apply rules, etc...

I have enabled forwarding, there are no rules, the FORWARD policy is ACCEPT. However packets will not forward through the box, from a seperate machine that can see eth1 of the "firewall" i can see eth0 of the "firewall" but i cannot see past this interface. What might I be over looking?

thanks.
-zeb

p.s. - are there any slackpacks of iproute2 or iputils?

:confused:


All times are GMT -5. The time now is 09:51 AM.