Hello,
My system is Suse open source 10.1 and running SuSEFirewall2.
I have 2 public IPs. ex) 1.1.1.1 and 1.1.1.2 (made up the IPs here...)
One domain is pointing to 1.1.1.1 and the other domain is pointing to 1.1.1.2.
The wan nic ip of the firewall is 1.1.1.1.
I have 2 public servers, 10.10.10.1 and 10.10.10.2.
1.1.1.1 is masqueraded to 10.10.10.1 for port 80 traffic.
1.1.1.2 is supposed to be masquerated to 10.10.10.2 for port 80 traffic but it isn't working.
I think it's b/c the firewall doesn't know that the 2nd IP 1.1.1.2 exists other than its own WAN IP of 1.1.1.1. How would I go about making my 2nd public IP 1.1.1.2 to translate to my 2nd public server 10.10.10.2 on port 80?
Is there a way to do a static mapping in SuSEFirewall2?
Below is my configuration, thanks!:
wan nic IP: 1.1.1.1
public dns
www.domain1.com = 1.1.1.1
www.domain2.com = 1.1.1.2
FW_FORWARD_MASQ="0/0,10.10.10.1,tcp,80
0/0,10.10.10.2,tcp,80,1.1.1.2"
FW_ROUTE="yes"
FW_MASQUERADE="yes"
FW_MASQ_NETS="0/0"