I have been using a single Public IP address and NATS on my FC Firewall system for many years without a problem. I redirect the appropriate ports to the required severs without problem. Our ISP has recently informed us that we now have 10 available Public IP addresses and I would like to know how I forward public IP addresses through the firewall server.
IP addresses shown are not my actual addresses but for example only.
Our set up is. SHDSL bridge modem to the FC8 Firewall. IP address on Eth1 is 184.108.40.206 and Eth0 is 10.70.70.1
Here is my very basic code that I fall back on after server OS Update. It offers no protection but forwards to the lan. How would I change the script to incorporate Public addresses 220.127.116.11 & 18.104.22.168.
Do I need to add hardware. Extra Ethernet cards?
# Policies (default)
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
# FORWARD chain rules
# Accept the packets to forward
iptables -A FORWARD -i eth0 -j ACCEPT
iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
# OUTPUT chain rules
# Only packets with a local address (no spoofing)
iptables -A OUTPUT -p ALL -s 127.0.0.1 -j ACCEPT
iptables -A OUTPUT -p ALL -s 10.70.70.0/8 -j ACCEPT
iptables -A OUTPUT -p ALL -s 22.214.171.124 -j ACCEPT
# NATS for Internal network
iptables -t nat -A POSTROUTING -o eth1 -j SNAT --to-source 126.96.36.199
Thanks in advance