andrew4728
Technical User
Hey all, I have been playing with my cisco 2514 (Version 12.2(13)T) (for mainly educational purposes) and have been playing with static NAT (port forwarding for game servers and such).
When I setup a temporary game server for me and my friends, I setup port forwarding to my game server and all works fine.
let's say my Servs ip address is a.b.c.d and Ethernet0 is my cable modem connection.
I use the following command to forward udp port 28960(for example) to my game server, and it works perfectly :
ip nat inside source static udp a.b.c.d 28960 interface Ethernet0 28960
This game server is broadcasted to this specific games online gaming menu, which generates connections from other players to my server.
Once I am done and want to shutdown the server and kill the port translation, it won't allow me to.
States static route is currently in use. Even when I use the FORCED command after it (which seems pretty worthless unless I am using it incorrectly)
Now before I go further, I want to side note that I have read the forums, and found a couple situations similar to mine where the only conclusion is that you can clear your entire nat translation table and then delete the route. This works. Also shutting down the interface works as well.
My question is :
Why won't it let me manually delete the NAT translations with udp port 28960 ONLY then clear it out?
When I type the following command :
clear ip nat translation udp inside <cable modem IP Address> 28960 a.b.c.d 28960
and hit enter, it states "%Translation not dynamic"
So I'm stuck at a point where I can't delete the static route because it's in use, but I can't delete the translations that are in use, because they are static!
There has got to be a way to do this without shutting down the interface, or killing ALL nat translations!
If this was in a large business environment, that could cause some problems.
Also, I have tried
Anybody have any ideas? Am I doing the commands correctly?
Thanks!
Andrew
When I setup a temporary game server for me and my friends, I setup port forwarding to my game server and all works fine.
let's say my Servs ip address is a.b.c.d and Ethernet0 is my cable modem connection.
I use the following command to forward udp port 28960(for example) to my game server, and it works perfectly :
ip nat inside source static udp a.b.c.d 28960 interface Ethernet0 28960
This game server is broadcasted to this specific games online gaming menu, which generates connections from other players to my server.
Once I am done and want to shutdown the server and kill the port translation, it won't allow me to.
States static route is currently in use. Even when I use the FORCED command after it (which seems pretty worthless unless I am using it incorrectly)
Now before I go further, I want to side note that I have read the forums, and found a couple situations similar to mine where the only conclusion is that you can clear your entire nat translation table and then delete the route. This works. Also shutting down the interface works as well.
My question is :
Why won't it let me manually delete the NAT translations with udp port 28960 ONLY then clear it out?
When I type the following command :
clear ip nat translation udp inside <cable modem IP Address> 28960 a.b.c.d 28960
and hit enter, it states "%Translation not dynamic"
So I'm stuck at a point where I can't delete the static route because it's in use, but I can't delete the translations that are in use, because they are static!
There has got to be a way to do this without shutting down the interface, or killing ALL nat translations!
If this was in a large business environment, that could cause some problems.
Also, I have tried
Anybody have any ideas? Am I doing the commands correctly?
Thanks!
Andrew