Please review the config below :
interface GigabitEthernet0/0 ip address 192.168.1.254 255.255.255.0 ip nat inside no cdp enable ! interface ATM0/0/0 dsl equipment-type CPE dsl operating-mode GSHDSL symmetric annex B dsl linerate AUTO pvc 0/35 encapsulation aal5mux ppp dialer dialer pool-member 10 ! ! interface Dialer10 ip address 80.80.80.9 255.255.255.248 ip nat outside encapsulation ppp dialer pool 10 dialer persistent ppp authentication pap callin ppp pap sent-username user password pass ! ip classless ip route 0.0.0.0 0.0.0.0 Dialer10 permanent ! ip nat translation timeout 300 ip nat inside source route-map RMP_DIALER10_OVERLOAD interface Dialer10 overload ip nat inside source static tcp 192.168.1.2 25 80.80.80.14 25 extendable ip nat inside source static tcp 192.168.1.2 80 80.80.80.14 80 extendable ip nat inside source static tcp 192.168.1.2 443 80.80.80.14 443 extendable ! ip access-list extended ACL_DIALER10_OVERLOAD permit ip 192.168.1.0 0.0.0.255 any ! route-map RMP_DIALER10_OVERLOAD permit 10 match ip address ACL_DIALER10_OVERLOAD match interface Dialer10 !
In this configuration any traffic to the Internet generated by the server on private IP 192.168.1.2 gets a source address 80.80.80.9 after the NAT overload (for which for some other reason's I have to use a route-map). I want this server 192.168.1.2 to be reachable on the Internet via public IP
80.80.80.14 for a few select ports, which works fine. But I want the server to use another IP address from the public range than the one assigned to the dialer interface (80.80.80.14, which i'm also using for the inbound traffic to the server). How can I accomplish this?Ronald de Leeuw