VPN and NAT

From: Joshua (joshualixin@gmail.com)
Date: Mon Mar 12 2007 - 20:20:29 ART


Hi, guys,

This is the senario.
                                 |-----------|
10.10.5.0/24|--------------fa e0----------Internet--------Softvpn (
10.8.8.0/24)
                             .2 |-----------|

In the VPN router, there is a local dhcp pool for softwarevpn users,
10.8.8.1 ~ .255. After remote users vpn in, is it possible NAT on the
internal interface Fa (PAT), so, all users will be treat as the same subnet
as 10.10.5.0/24?

........<omit>
interface FastEthernet0
 ip address 10.10.5.2 255.255.255.0
 ip nat outside
 speed auto
!
ip local pool ippool 10.8.8.1 10.8.8.255
ip nat inside source route-map softvpn interface FastEthernet0 overload
!
!
access-list 120 permit ip 10.8.8.0 0.0.0.255 any
!
!
route-map softvpn permit 10
 match ip address 120
!
...<OMIT>



This archive was generated by hypermail 2.1.4 : Sun Apr 01 2007 - 06:35:51 ART