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 184.108.40.206 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 220.127.116.11
static (inside,outside) tcp 18.104.22.168 www 10.0.5.12 www netmask 255.255.255.255
static (inside,outside) tcp 22.214.171.124 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 126.96.36.199 to 10.0.5.12 and 188.8.131.52 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 184.108.40.206 1024 220.127.116.11 80 detailed
packet-tracer input outside tcp 18.104.22.168 1024 22.214.171.124 80 detailed
This configuration will work fine.
You're redirecting web port 80 traffic when it hits IP 126.96.36.199 to internal IP 10.0.5.12 and also redirecting www when it hits IP 188.8.131.52 to 10.0.5.22
Just make sure that DNS is configured correctly to resolve the correct IPs and that web traffic reaching 184.108.40.206 is really intended for 10.0.5.12 and web traffic reaching 220.127.116.11 is really intended for 10.0.5.22
Let me know.