Setting up firewall / nat server
Hi All.
We have a small business network and have a Cisco ADSL Router and I would like to set up a firewall using FC4 between that and the rest of the network. What do I need to do to get it to act as nat server? The server has two network cards, eth0 connected to the router and eth1 connected to the network switch. The configuration is as follows: Cisco Router <--> [eth0] FC4 server [eth1] <--> LAN Network Thanks Andrew. |
This should get you started;
http://tldp.org/HOWTO/Masquerading-Simple-HOWTO/ Here is mine, like yours eth0=WAN eth1=LAN Code:
# iptables -F; iptables -t nat -F; iptables -t mangle -F Code:
# iptables -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT # echo 1 > /proc/sys/net/ipv4/ip_forward |
All times are GMT -5. The time now is 11:29 PM. |