Avatar of diablo-26
diablo-26
 asked on

How do I delete / remove a NAT statement from a 3com router?

I need to remove a NAT statement from a 3com router and wondered if anyone knew the command or switch to do that?

The statement is:
nat server protocol tcp global 10.1.7.3 any inside 10.3.7.3 any

I've tried adding a delete and /delete at the end of the line, and if I put in a new IP it won't change it cause it already exists, so I just want to remove this and type it back in again.  I just want to change the 10.3.7.3 to 10.3.0.250 due to an internal network change.

Thanks!

M.
Routers

Avatar of undefined
Last Comment
diablo-26

8/22/2022 - Mon
gi2unt

Hello there,

Try typing to word 'no' in front of the command line. Example:

no nat server protocol tcp global 10.1.7.3 any inside 10.3.7.3 any


That is the standard in most routers.

Thanks
diablo-26

ASKER
gi2unt,

Thanks, but that didn't work, just gives me an unrecognized command error.
3COM probably uses different stuff, I know I tried some CISCO commands but they don't work.

M.
ASKER CERTIFIED SOLUTION
gi2unt

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
diablo-26

ASKER
I think the undo part is right... but it's saying "unrecognized command found at '^' position and the carat is underneath the word server.  So maybe the actual text changes when doing an undo?

Why don't they have web interfaces yet for routers?  Seems like they should but they don't because they just want to make money off of training.

M.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
gi2unt

This is from the pdf I attached

nat server Syntax
           nat server [ vpn-instance vpn-instance-name ] protocol pro-type global global-addr
           global-port1 global-port2 inside host-addr1 host-addr2 host-port
           nat server [ vpn-instance vpn-instance-name ] protocol pro-type global global-addr
           [ global-port ] inside host-addr [ host-port ]
           undo nat server [ vpn-instance vpn-instance-name ] protocol pro-type global
           global-addr global-port1 global-port2 inside host-addr1 host-addr2 host-port
           undo nat server [ vpn-instance vpn-instance-name ] protocol pro-type global
           global-addr [ global-port ] inside host-addr [ host-port ]

3ComComRef.pdf
diablo-26

ASKER
You were right Gi2... I just wasn't in the right place when I typed it in, had to do system-view first and then interface gigabitethernet 1/0 to get to the right spot.

Thanks!

M.