08-08-2017 02:19 PM - edited 03-12-2019 02:47 AM
I have an ISR4331 with Firewall.
This firewall was something that we took over on an IT contract we are now doing and it configured as a Zone based firewall.. Most of the stuff that i've done with Cisco is with ASA's. The commands seem similar but i'm sure i'm missing something.
There on the G0/0/0 Interface is where the internet is located. G0/0/1 is the internal network.
I have multiple VLans within that network where as G0/0/1.50 is one of them.
I need to route port 40000 and 40001 to an IP on that subnet ( 172.16.50.xx )
Should I be able to NAT directly from the outside interface to the IP of the device directly or is there something more complex required to get the traffic to the VLan 50 device?
TIA
08-08-2017 08:51 PM
Hi
If you want to nat your tcp port from your wan interface ip to your internal IP, you need to ensure that your wan g0/0/0 had been configured with ip nat outside and your internal g0/0/1.50 interface configured with ip nat inside.
Then the command would be:
ip nat inside source static tcp 172.16.50.x 40000 interface Git0/0/0 40000
Thanks
PS: Please don't forget to rate and mark as correct answer if this answered your question
08-08-2017 09:08 PM
My command in the config at the moment is
ip nat inside source static tcp 172.16.50.30 40000 interface GigabitEthernet0/0/0 40000 extendable
Inside my ACL I also have
permit tcp any any eq 40000
08-09-2017 04:45 AM
Hi
Can you give us in a text file the output of show ip nat translation?
And also your config?
Have you tried to run a debug ip nat? If yes can you paste the result of that debug?
Thanks
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide