02-08-2005 09:46 AM - edited 03-02-2019 09:33 PM
I need to be able to route a port to a particular internal ip, how would I do this?
I have a Cisco 2621 router and a Pix 515 firewall connected to it.
02-08-2005 10:08 AM
Depends on where you do nat.
If you do nat on router,
ip nat inside source static
(you can additionally specify a port against each ip - either tcp or udp)
If you do nat on the PIX, you will need to configure static commands and access-list to permit a particular port.
You can see some examples here
http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_tech_note09186a008009402f.shtml
02-08-2005 11:14 AM
Thanks for the reply.
I still have nothing.
Here is my router config:
interface FastEthernet0/1
ip address 64.45.175.yyy 255.255.255.xxx secondary
ip address 64.45.175.xxx 255.255.255.yyy
ip nat outside
speed auto
half-duplex
!
ip local pool group1 172.16.4.70 172.16.4.100
ip default-gateway 69.45.175.169
ip nat inside source list 102 interface FastEthernet0/1 overload
ip nat inside source static 64.45.175.yyy 172.16.5.37
ip classless
ip route 0.0.0.0 0.0.0.0 64.45.175.aaa
ip route 172.16.5.0 255.255.255.192 172.16.4.64
02-08-2005 11:24 AM
You nat static statement is configured wrong.
ip nat inside source static 172.16.5.37 64.45.175.yyy
HTH
02-08-2005 11:30 AM
haha, thats what I get, been at it to long.
Anyhow, I changed it and still nothing, perhaps it has something to do with my PIX, but I tried to route it, but the PIX can't even ping the address on the router.
02-08-2005 11:35 AM
Ok, Try bypassing the PIX, and put the server directly on the 172 subnet and see if thats working. This will tell you if the PIX is the culprit.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: