iptables ipforwarding issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Just upgraded to 2.4.22 kernel from 2.2.x and now must learn iptables just when I got ipchains down. ;)
Anyhow, i need some help getting my firewall box to forward traffic for certain services, formost https.
 
Here's what I have thus far:
iptables -P FORWARD DROP
iptables -A FORWARD -j ACCEPT -m state --state ESTABLISHED,RELATED
iptables -A FORWARD -j ACCEPT -p tcp -i eth0 -o eth1 -d 12.249.0.0/16 --dport 443
 
12.249.0.0/16 is eth0 and is my inet connection.  192.168.0.0/24 is eth1 and is my localnet interface.
Where do I go from here to bridge the gap allowing access to my https server inside my localnet?
 
Thanks for any help you might spare me. ;)
 
Mike
 
 

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux