cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
284
Views
0
Helpful
5
Replies

Setting up server

majunior882
Beginner
Beginner

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.

5 Replies 5

thisisshanky
Advisor
Advisor

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

Sankar Nair
UC Solutions Architect
Pacific Northwest | CDW
CCIE Collaboration #17135 Emeritus

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

You nat static statement is configured wrong.

ip nat inside source static 172.16.5.37 64.45.175.yyy

HTH

Sankar Nair
UC Solutions Architect
Pacific Northwest | CDW
CCIE Collaboration #17135 Emeritus

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.

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.

Sankar Nair
UC Solutions Architect
Pacific Northwest | CDW
CCIE Collaboration #17135 Emeritus
Getting Started

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: