How to configure Cisco 827 NAT with multiple Public IPs

Discussion in 'Cisco' started by xinyer, May 28, 2007.

  1. xinyer


    May 28, 2007
    Likes Received:
    Hi Guys, need some help on multiple IPs configuration.

    I configured my 827 using static port NAT, like this:

    ip nat inside source static tcp 22 22 extendable
    ip nat inside source static tcp 25 25 extendable

    I have 6 IPs usable, with the configurations above, I can receive mails, SMTP are directed to my local server, but the problem is that when I send mail out, the SMTP does not use the IP and port 25, instead it uses the ISP gateway IP address, which is banned by many mail servers.

    I figured out that I can solve this by configure like this:

    ip nat inside source static

    which forwards everything to my local server. But this is not secure, I don't want to open everything to the internet.

    How can I use Port NAT to direct my outgoing packets to a specific Public IP and specific port only?
    xinyer, May 28, 2007
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.