08-14-2009 08:32 PM - edited 03-04-2019 05:44 AM
Hi ALL
I have a Internet Router with ADSL and Serial Module , I want that only SMTP traffic will go through the Lease Line and rest i.e. http ftp https etc should go out from ADSL.
Regards/Asfar
08-14-2009 09:45 PM
Hi
I am configuring my router like this
!
interface FastEthernet0/0
ip address 192.168.200.1 255.255.255.0
ip policy route-map ADSL
ip nat inside
duplex auto
speed auto
!
interface Serial0/1/0
ip address xx.xx.xx.xx 255.255.255.252
ip virtual-reassembly
no ip route-cache cef
no ip route-cache
!
interface ATM0/3/0
no ip address
ip virtual-reassembly
no ip mroute-cache
no atm ilmi-keepalive
dsl operating-mode auto
pvc 0/50
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
!
interface Dialer1
ip address negotiated
ip virtual-reassembly
encapsulation ppp
ip nat outside
dialer pool 1
dialer idle-timeout 2147483
dialer-group 1
no cdp enable
ppp authentication pap callin
!
ip nat inside source route-map ADSL interface Dialer1 overload
ip route 0.0.0.0 0.0.0.0 Serial0/1/0
!
!
access-list 1 permit any
access-list 102 permit tcp any any eq www
access-list 102 permit tcp any any eq 8080
access-list 102 permit tcp any any eq 443
access-list 102 permit tcp any any eq ftp
access-list 102 permit tcp any any eq domain
access-list 102 permit udp any any eq domain
!
route-map ADSL permit 10
match ip address 102
set interface Dialer1
Check if i am doing any thing wrong
Regards/Asfar
08-14-2009 10:18 PM
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: