03-12-2006 05:31 AM
Hi,
I have following scenario:
Two routemaps defined on the router and NAT is enabled. However, I need to make Remote Dektop Connection and access FTP server behind the router. Without routemap I managed to do, but with routemap I do not know how to do.
Necessary configuration segment is as below:
<.....>
!
ip nat inside source route-map Dialer0 interface Dialer0 overload
ip nat inside source route-map Dialer1 interface Dialer1 overload
!
access-list 97 permit 192.168.1.0 0.0.0.255
access-list 98 permit 192.168.1.0 0.0.0.255
dialer-list 1 protocol ip permit
dialer-list 2 protocol ip permit
!
route-map Dialer0 permit 10
match ip address 97
match interface Dialer0
!
route-map Dialer1 permit 10
match ip address 98
match interface Dialer1
!
<..rest of the config...>
03-12-2006 02:42 PM
Hi Mate,
You cannot use a route-map for inbound connections - they are only used for outbound connections i.e. connections from your inside network to the outside network.
In order to enable inbound FTP connections, enter in something like the following:
ip nat inside source static tcp
As long as your clients use active FTP, the above should work just fine.
Hope that helps - pls rate the post if it does.
Paresh
03-13-2006 01:19 PM
I know, but the problem is that I configured router to do per packet load balancing on two ADSL lines (dynamic ip). When we type
ip nat inside source static tcp 192.168.1.254 21 interface Dialer0 21
ip nat inside source static tcp 192.168.1.254 21 interface Dialer1 21
only last entered one will be accepted, is there any method to overcome this situation ?
03-13-2006 03:24 PM
The one thing I can suggest is that you assign two internal addresses to your FTP server and then do the following:
ip nat inside source static tcp 192.168.1.253 21 interface Dialer0 21
ip nat inside source static tcp 192.168.1.254 21 interface Dialer1 21
That way, the router will accept both commands.
Hope that helps - pls rate the post if it does.
Paresh
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: