PDA

View Full Version : Port forwarding in the Cisco 67x Routers


mholtum
01-04-2003, 12:36 AM
I am beginning to feel really stupid. I pretty much know my way around the Cisco 675 and 678 routers, but it seems I have run into a wall.

I am trying to forward ports 6112 - 6119 and port 4000 to two seperate machines in my network. I am using this command in the router:

set nat entry add 10.0.0.2 6112-6119 (external Ip) 6112-6119 udp

It seems to work for the first internal IP line I add but not for the second machine. I should be able to forward the same port to two machines, shouldn't I?

Any help would be appreciated.

- Mike -

Mntsnow
01-04-2003, 6:19 AM
I'll throw one of my backup 675's on a dev box and see what I can come up with

mholtum
01-04-2003, 7:14 PM
What if I do this, I have a Netgear RT311 DLS/Cable Router. If I hook it back up, and have the Cisco forward Everything to the Netgear, and then put one comp in the DMZ and forward the ports to the other PC.

In the cisco:
set nat entry add 10.0.0.2 udp
set nat entry add 10.0.0.2 tcp

this would forward EVERYTHING to the RT311

then in the RT311 put one comp in the DMZ and simply forward the ports to the other. I am going to try this tonight.

Mntsnow
01-04-2003, 11:25 PM
let me know how that works out for you

mholtum
01-05-2003, 10:25 AM
1: I erased ALL of my NAT entries in the Cisco 678.
2: I used a wildcard Nat entry, set nat entry add 10.0.0.3
which is the dynamically assigned IP of my Netgear RT311 Router.
3: I put my sons computer IP in the DMZ within the RT311
4: I forwarded the nessesary ports to my IP.

Seems to be working

Mntsnow
01-05-2003, 2:08 PM
cool

mholtum
01-06-2003, 10:03 PM
Ok, after a few days of "heavy testing" this seems to have worked great!

After doing some research it seems that it isn't possible to forward the same ports to different internal IP with out different external IP's. So in other words I figured out the only way this is possible.

Woo Hoo. Maybe now I should ask my boss for a raise?