I would like to get a second opinion if the below config will work on Cisco PIX or ASA on 7.0 version. Basically configuring the port forwarding to different servers on a LAN on port www on different public IPs
ip address 126.96.36.199 255.255.255.240
ip address 10.0.5.2 255.255.255.0
global (outside) 1 interface
route outside 0.0.0.0 0.0.0.0 188.8.131.52
static (inside,outside) tcp 184.108.40.206 www 10.0.5.12 www netmask 255.255.255.255
static (inside,outside) tcp 220.127.116.11 www 10.0.5.22 www netmask 255.255.255.255
For the packet-tracer instead of CLI you can also use your ASDM (above 7.2(x) ).
Just access your ASA using ASDM, --> rollover TOOLS--> Click on packet-tracer and set the packet parameters you want to simulate.
If your goal is to forward TCP port 80 for 18.104.22.168 to 10.0.5.12 and 22.214.171.124 to 10.0.5.22 then this should work fine.
If using ASA code 7.2(1) and above you can use the packet tracer command to test your configs.
packet-tracer input [src_int] protocol src_addr src_port dest_addr dest_port [detailed] [xml]
packet-tracer input outside tcp 126.96.36.199 1024 188.8.131.52 80 detailed
packet-tracer input outside tcp 184.108.40.206 1024 220.127.116.11 80 detailed
This configuration will work fine.
You're redirecting web port 80 traffic when it hits IP 18.104.22.168 to internal IP 10.0.5.12 and also redirecting www when it hits IP 22.214.171.124 to 10.0.5.22
Just make sure that DNS is configured correctly to resolve the correct IPs and that web traffic reaching 126.96.36.199 is really intended for 10.0.5.12 and web traffic reaching 188.8.131.52 is really intended for 10.0.5.22
Let me know.