Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need to add ip nat forwarding to 1721

Status
Not open for further replies.

framewraith

IS-IT--Management
Joined
Feb 13, 2004
Messages
4
Location
US
i have frame relay at our office and a cisco 1721, i am needing to know what the command is to set up ip nat forwarding from the real ip to the internal ip so i can get our mail server running.

if you need any more info let me know thanks.

brandon
 
Brandon,

This should work for you:

ip nat pool poolname 172.16.131.1 172.16.131.25 netmask 255.255.0.0
--nat's inside addresses to addresses in pool

ip nat inside source list 7 pool poolone
--will nat addresses allowed by access list 7 to pool list

ip nat inside source static (private lan) 10.10.10.X 25 (public lan) 172.16.131.X 25 extendable
--SMTP traffic destined for 172.16.131.X 25 nat'ed to 10.10.10.X 25

interface e 0
ip address 10.10.10.254 255.255.255.0
ip nat inside

interface s 0
ip address 172.16.131.254 255.255.255.0
ip nat outside

access-list 7 permit 10.10.10.X 0.0.0.255

ITD17
 
so i can add these lines with my ips, correct and do i need to put it anywhere specific in the configuration.

thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top