01-14-2008 06:48 AM - edited 03-03-2019 08:15 PM
Dear All,
I configure a static NAT on a cisco 1841.
below is the config.
interface FastEthernet0/0
ip address 213.X.X.X 255.255.255.240
ip nat outside
!
interface FastEthernet0/1
ip address 192.168.X.X 255.255.255.0
ip nat inside
!
ip nat inside source static tcp 192.168.X.Y 5101 213.X.X.Y 5101
When i telnet from my local network to 192.168.X.Y i have a result.
When i telnet from out side my network on 213.X.X.Y 5101 i have the following:
Could not open connection to the host, on port 5101: Connect failed
But when i telnet from outside to port 25 or 110 i have a result.
Any help?
01-14-2008 06:51 AM
Try this command:
ip nat inside source static tcp 192.168.X.Y 5101 213.X.X.Y 5101 extendable
HTH,
__
Edison.
01-14-2008 07:05 AM
Did you allowed the 5101 port from outside using access-list.
Post your access-list applied on the outside interface.
01-14-2008 08:31 AM
Below is the ACL
interface FastEthernet0/0
ip address 213.X.X.X 255.255.255.240
ip nat outside
ip access-group 101 in
!
interface FastEthernet0/1
ip address 192.168.X.X 255.255.255.0
ip nat inside
access-list 101 permit tcp any host 213.X.X.Y eq 5101
Thks
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: