cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
272
Views
0
Helpful
1
Replies
PersOC1Cisco69
Beginner

NAT Hairpin at 3825

Hi!

I would like to use a Nat Hairpin at a Cisco 3825 (Version 15.1(4)M10), so that I can reach my mail services from inside and outside (smartphone with wlan).

Here is my relevant config:

interface GigabitEthernet0/0
 ip address IP 255.255.255.0
 ip nat inside

interface Dialer1
 ip nat outside

ip nat inside source list 1 interface Dialer1 overload
ip nat inside source static tcp MAIL_SERVER_IP PORT1 interface Dialer1 OUTSIDE_PORT1
ip nat inside source static tcp MAIL_SERVER_IP PORT2 interface Dialer1 OUTSIDE_PORT2

Thanks for your help!

1 REPLY 1
PersOC1Cisco69
Beginner

Hello again!

I solved my problem with NVI NAT like read at this page: http://tech.jocke.no/2010/09/24/cisco-ios-nat-virtual-interface/

After reboot I can see that the NAT lines still included in the running-config, but they make no difference (like https://supportforums.cisco.com/discussion/11685796/cisco-881-loses-nat-nvi-mappings-after-reload). When configuring the ip nat ... lines again, the nat is working. So I tried my luck with the event manager feature, saw that it was called, but it made no difference.

The only solution for me is to call a shell script doing telnet commands at the router.

Is there any better solution?