Question

Port forwarding SMTP with Cisco 877

Asked by: Sc0tte

I'm a bit noob when it comes to CISCO configs.  This one was written by our ISP, and then tinkered with from our PABX people.

We run our own exchange email server internally on 10.10.1.2, but I am moving this to 10.10.1.3.  I can't see anywhere in the script to change this.  Only reference to 10.10.1.2 i can find is to port forward (443) to existing mail server.

I want to have (443) and (25) port forwarding to 10.10.1.3....   I'm just not sure how it's being forwarded at the moment to 10.10.1.2... ??  

The config is supposed to allow
- anything outgoing from 10.10.1.32 --> 10.10.1.40.  
- incoming usual stuff to any (DNS, WWW, SSL, FTP)
- outgoing SMTP from 10.10.1.2 and 10.10.1.3 only
- VPN connections from 10.10.1.41 - 10.10.1.50

I have a hunch it's something to do with this???

route-map nonat permit 10                                                      
 match ip address 102      

If anyone can shed some light on this for me, it would be greatly appreciated.

BrisbaneI#show running-config                                                   
Building configuration...                                                       
                                                                                
Current configuration : 6490 bytes                                              
!                                                                               
version 12.4                                                                    
no service pad                                                                  
service tcp-keepalives-in                                                       
service tcp-keepalives-out                                                      
service timestamps debug datetime msec localtime                                
service timestamps log datetime msec localtime                                  
service password-encryption                                                     
service sequence-numbers                                                        
!                                                                               
hostname BrisbaneI                                                              
!                                                                               
boot-start-marker                                                               
boot-end-marker                                                                 
!                                                                               
logging buffered 51200                                                          
enable password ****************                                           
!                                                                               
aaa new-model                                                                   
!                                                                               
!                                                                               
aaa authentication login default line                                           
aaa authentication ppp default group radius local                               
aaa authorization network default group radius local                            
!                                                                               
!                                                                               
aaa session-id common                                                           
no ip cef                                                                       
!                                                                               
!                                                                               
!                                                                               
!                                                                               
ip vrf VPN                                                                      
 rd 1:1                                                                         
!                                                                               
ip inspect max-incomplete high 1100                                             
ip inspect max-incomplete low 1100                                              
ip inspect one-minute high 1100                                                 
ip inspect one-minute low 1100                                                  
ip inspect udp idle-time 60                                                     
ip inspect dns-timeout 10                                                       
ip inspect name FIRE tcp timeout 3600                                           
ip inspect name FIRE udp timeout 15                                             
ip inspect name FIRE ftp timeout 3600                                           
ip inspect name FIRE rcmd timeout 3600                                          
ip inspect name FIRE smtp timeout 3600                                          
ip inspect name FIRE sqlnet timeout 3600                                        
ip inspect name FIRE tftp timeout 30                                            
ip inspect name FIRE icmp timeout 30                                            
ip inspect name FIRE ssh timeout 3600                                           
ip inspect name FIRE dns timeout 15                                             
ip inspect name FIRE http timeout 3600                                          
ip inspect name FIRE https timeout 3600                                         
ip inspect name FIRE imap timeout 3600                                          
ip inspect name FIRE imaps timeout 3600                                         
ip inspect name FIRE rtsp timeout 3600                                          
!                                                                               
multilink bundle-name authenticated                                             
async-bootp dns-server 10.10.1.7                                                
vpdn enable                                                                     
!                                                                               
vpdn-group 1                                                                    
! Default PPTP VPDN group                                                       
 accept-dialin                                                                  
  protocol pptp                                                                 
  virtual-template 1                                                            
 l2tp tunnel password 7                                                         
!                                                                               
!                                                                               
!                                                                               
!                                                                               
!                                                                               
username admin privilege 15 password **********************                       
username tester password 7 *******************                                    
!                                                                               
!                                                                               
class-map match-any PRIORITY-DATA                                               
 description Important traffic such as RDP, VNC and Citrix traffic              
 match access-group name ImportantTraffic                                       
class-map match-all VOICE                                                       
 description VoIP call traffic as tagged by the server                          
 match ip dscp ef                                                               
class-map match-any CALL-SIGNALING                                              
 description VoIP signaling traffic as tagged by the server                     
 match ip dscp cs3                                                              
 match ip dscp af31                                                             
!                                                                               
!                                                                               
policy-map QOS-policy-outside-outbound                                          
 class VOICE                                                                    
  priority percent 50                                                           
 class CALL-SIGNALING                                                           
  bandwidth percent 5                                                           
 class PRIORITY-DATA                                                            
  bandwidth percent 10                                                          
 class class-default                                                            
  fair-queue                                                                    
  queue-limit 30                                                                
!                                                                               
!                                                                               
!                                                                               
!                                                                               
!                                                                               
!                                                                               
interface Loopback0                                                             
 no ip address                                                                  
!                                                                               
interface Loopback1                                                             
 ip address 10.0.0.1 255.255.255.255                                            
!                                                                               
interface ATM0                                                                  
 no ip address                                                                  
 load-interval 30                                                               
 no atm ilmi-keepalive                                                          
 pvc 8/35                                                                       
  vbr-nrt 384 384 1                                                             
  encapsulation aal5mux ppp dialer                                              
  dialer pool-member 1                                                          
  service-policy output QOS-policy-outside-outbound                             
 !                                                                              
 dsl operating-mode auto                                                        
!                                                                               
interface FastEthernet0                                                         
!                                                                               
interface FastEthernet1                                                         
!                                                                               
interface FastEthernet2                                                         
!                                                                               
interface FastEthernet3                                                         
!                                                                               
interface Virtual-Template1                                                     
 ip unnumbered Vlan1                                                            
 peer default ip address pool DIAL-IN                                           
 ppp mtu adaptive                                                               
 ppp encrypt mppe auto required                                                 
 ppp authentication ms-chap ms-chap-v2                                          
!                                                                               
interface Vlan1                                                                 
 bandwidth 6000                                                                 
 bandwidth receive 384                                                          
 ip address 10.10.1.10 255.255.255.0                                            
 ip nat inside                                                                  
 ip inspect FIRE in                                                             
 ip virtual-reassembly                                                          
 ip tcp adjust-mss 1420                                                         
!                                                                               
interface Dialer1                                                               
 bandwidth 384                                                                  
 bandwidth receive 6000                                                         
 ip address negotiated                                                          
 ip mtu 1460                                                                    
 ip nat outside                                                                 
 ip virtual-reassembly                                                          
 encapsulation ppp                                                              
 ip route-cache flow                                                            
 no ip mroute-cache                                                             
 dialer pool 1                                                                  
 dialer idle-timeout 0                                                          
 dialer persistent                                                              
 dialer-group 1                                                                 
 ppp chap hostname taiyo.brisbane02@internode.on.net                            
 ppp chap password 7 0518011532475F0E0E16                                       
!                                                                               
ip local pool DIAL-IN 10.10.1.41 10.10.1.50                                     
ip route 0.0.0.0 0.0.0.0 Dialer1                                                
ip route 10.10.2.0 255.255.255.0 10.10.1.11                                     
!                                                                               
!                                                                               
no ip http server                                                               
no ip http secure-server                                                        
ip nat inside source route-map nonat interface Dialer1 overload                 
ip nat inside source static tcp 10.10.1.1 21 150.101.199.99 21 extendable       
ip nat inside source static tcp 10.10.1.2 443 150.101.199.99 443 extendable     
!                                                                               
ip access-list extended ImportantTraffic                                        
 permit tcp any any eq 3389                                                     
 permit tcp any any eq 5900                                                     
 permit tcp any any eq 5901                                                     
 permit tcp any any eq 1494                                                     
 permit tcp any any eq 3784                                                     
ip access-list extended incoming                                                
 permit tcp any host 150.101.199.99 eq smtp                                     
 permit tcp any host 150.101.199.99 eq www                                      
 permit tcp any host 150.101.199.99 eq 443                                      
 permit tcp any host 150.101.199.99 eq ftp-data                                 
 permit tcp any host 150.101.199.99 eq ftp                                      
 permit tcp any host 150.101.199.99 eq 5060                                     
 permit udp any host 150.101.199.99 eq 5060                                     
 permit icmp any any                                                            
 permit gre any any                                                             
 permit tcp any host 150.101.199.99 eq 1723                                     
 permit udp any host 150.101.199.99 eq 1701                                     
 permit tcp any host 150.101.199.99 eq 3784                                     
 permit udp any host 150.101.199.99 eq 3784                                     
!                                                                               
access-list 101 permit ip 10.10.1.0 0.0.0.255 10.10.2.0 0.0.0.255               
access-list 102 deny   ip 10.10.1.0 0.0.0.255 10.10.2.0 0.0.0.255               
access-list 102 permit tcp 10.10.1.0 0.0.0.255 any eq www                       
access-list 102 permit tcp 10.10.1.0 0.0.0.255 any eq 443                       
access-list 102 permit tcp 10.10.1.0 0.0.0.255 any eq ftp-data                  
access-list 102 permit tcp 10.10.1.0 0.0.0.255 any eq ftp                       
access-list 102 permit tcp 10.10.1.0 0.0.0.255 any eq domain                    
access-list 102 permit udp 10.10.1.0 0.0.0.255 any eq domain                    
access-list 102 permit tcp host 10.10.1.2 any eq smtp                           
access-list 102 permit tcp host 10.10.1.3 any eq smtp                           
access-list 102 permit ip host 10.10.1.5 any                                    
access-list 102 permit ip host 10.10.1.9 any                                    
access-list 102 permit tcp host 10.10.1.32 any                                  
access-list 102 permit ip host 10.10.1.32 any                                   
access-list 102 permit tcp host 10.10.1.33 any                                  
access-list 102 permit ip host 10.10.1.33 any                                   
access-list 102 permit tcp host 10.10.1.34 any                                  
access-list 102 permit ip host 10.10.1.34 any                                   
access-list 102 permit tcp host 10.10.1.35 any                                  
access-list 102 permit ip host 10.10.1.35 any                                   
access-list 102 permit tcp host 10.10.1.36 any                                  
access-list 102 permit ip host 10.10.1.36 any                                   
access-list 102 permit ip host 10.10.1.37 any                                   
access-list 102 permit tcp host 10.10.1.38 any                                  
access-list 102 permit ip host 10.10.1.38 any                                   
access-list 102 permit tcp host 10.10.1.39 any                                  
access-list 102 permit ip host 10.10.1.39 any                                   
access-list 102 permit tcp host 10.10.1.40 any                                  
access-list 102 permit ip host 10.10.1.40 any                                   
!                                                                               
!                                                                               
!                                                                               
route-map nonat permit 10                                                       
 match ip address 102                                                           
!                                                                               
radius-server host 10.10.1.7 auth-port 1645 acct-port 1646 key 7 **************
4                                                                               
!                                                                               
control-plane                                                                   
!                                                                               
!                                                                               
line con 0                                                                      
 no modem enable                                                                
line aux 0                                                                      
line vty 0 4                                                                    
 exec-timeout 240 0                                                             
 privilege level 15                                                             
 password 7 **************                                                
!                                                                               
scheduler max-task-time 5000                                                    
!                                                                               
webvpn context Default_context                                                  
 ssl authenticate verify all                                                    
 !                                                                              
 no inservice                                                                   
!                                                                               
end

                                  
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:
220:
221:
222:
223:
224:
225:
226:
227:
228:
229:
230:
231:
232:
233:
234:
235:
236:
237:
238:
239:
240:
241:
242:
243:
244:
245:
246:
247:
248:
249:
250:
251:
252:
253:
254:
255:
256:

Select allOpen in new window

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-09-09 at 22:14:29ID24720353
Tags

CISCO 877

,

SMTP

,

Port Forward

Topics

Network Routers

,

Network Switches & Hubs

,

Network Design & Methodology

Participating Experts
3
Points
500
Comments
14

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Cisco VPN
    I have a cisco 2621 router, and want to know if it is capable of authenticating VPN users using cisco VPN client. If it is capable, how do you go about making it happen? Thanks.
  2. Cisco SSL VPN
    Can anyone provide me with information on what PIX devices support SSL vpn, license information, or just how cisco products implement SSL VPN's? Thanks. Keith
  3. Cisco VPN with ASA5505 and PIX506E
    Hello I have to configure a vpn between a CISCO ASA5505 and PIX506E. I''ve done some research on the net and configured the vpn to some extent. My vpn is up but I cannot ping the other side of the vpn. My network looks like this: On the cisco asa5505 external ip 81.196.151.17...
  4. Cisco ASA 5505 / Comcast SMTP workaround problem
    I have the problem when working out of my house that Comcast will lock down outbound SMTP on the regular ports. This may be due to the kids' computer getting infected with a virus from time to time. That is its own problem and I want to deal with it on its own. The problem...
  5. SSL VPN on Cisco IOS
    What versions of Cisco IOS can handle a full implementation of Cisco SSL VPN? I heard only the T version can but can other versions handle it?

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: QuoriPosted on 2009-09-09 at 23:25:30ID: 25297753

ip nat inside source static tcp 10.10.1.2 443 150.101.199.99 443 extendable    

This line is doing the current forwarding for that port.

 

by: Sc0ttePosted on 2009-09-09 at 23:28:05ID: 25297762

Thanks Quori, i can see it specifies 443, but how is SMTP (25) getting forwarded ??

 

by: MistralolPosted on 2009-09-10 at 00:42:19ID: 25298020


Port 25 isnt being forwarded int he config above. Are you sure Exchange isnt configured to use the POP3 connector or some such to get its emails?

 

by: StrifeJesterPosted on 2009-09-10 at 09:50:07ID: 25302027

Judging by the config it looks like you exchange server is retrieving email from your ISP do they do any type of filtering for you?

 

by: Sc0ttePosted on 2009-09-10 at 16:25:56ID: 25305505

This is why I'm stumped.

It's definitely the "running-config" on our router.
It connects directly to the internet, and I've tested telnetting to port 25 from a remote location.  It's definitely working, we are sending/receiving emails through SMTP with this router, directly to/from other email servers.

I'm using an application called "RouterTweak" to read/adjust the config, and i noticed that when trying to add a command  "ip nat inside source static tcp 10.10.1.2 25 150.101.199.99 25 extendable"

I get error "% similar static entry (10.10.1.2 -> 150.101.179.92) already exists"

Also, to confirm "RouterTweak" wasn't giving me incorrect information, I checked the config using PuTTY.

Any ideas?

 

by: Sc0ttePosted on 2009-09-10 at 23:07:36ID: 25306973

Is there some other way this router might be configured with that static entry?  (Apart from the config which doesn't seem to show where it's static entry is???)

 

by: MistralolPosted on 2009-09-11 at 01:30:55ID: 25307535


Try

show ip nat translations | include :25

It will show you everything that is being translated.

 

by: Sc0ttePosted on 2009-09-11 at 02:06:31ID: 25307693

Ok...

I have no idea what this means,,....

6                                                                               
tcp 150.101.179.92:25  10.10.1.2:25       113.18.16.79:4511  113.18.16.79:4511  
tcp 150.101.179.92:25  10.10.1.2:25       116.2.151.18:2515  116.2.151.18:2515  
tcp 150.101.179.92:25  10.10.1.2:25       122.4.113.150:1256 122.4.113.150:1256 
tcp 150.101.179.92:25  10.10.1.2:25       123.19.234.49:38916 123.19.234.49:3891
6                                                                               
tcp 150.101.179.92:25  10.10.1.2:25       123.23.248.122:47357 123.23.248.122:47
357                                                                             
tcp 150.101.179.92:25  10.10.1.2:25       123.27.57.75:17769 123.27.57.75:17769 
tcp 150.101.179.92:25  10.10.1.2:25       123.27.97.96:52504 123.27.97.96:52504 
tcp 150.101.179.92:25  10.10.1.2:25       123.27.97.96:54316 123.27.97.96:54316 
tcp 150.101.179.92:25  10.10.1.2:25       123.118.140.104:32186 123.118.140.104:
32186                                                                           
tcp 150.101.179.92:25  10.10.1.2:25       124.121.243.51:2388 124.121.243.51:238
8                                                                               
tcp 150.101.179.92:25  10.10.1.2:25       125.127.205.168:4218 125.127.205.168:4
218                                                                             
tcp 150.101.179.92:25  10.10.1.2:25       132.248.87.228:35854 132.248.87.228:35
854                                                                             
tcp 150.101.179.92:25  10.10.1.2:25       187.10.191.111:4712 187.10.191.111:471
2                                                                               
tcp 150.101.179.92:25  10.10.1.2:25       189.82.250.74:27750 189.82.250.74:2775
0                                                                               
tcp 150.101.179.92:25  10.10.1.2:25       189.83.70.120:1361 189.83.70.120:1361 
tcp 150.101.179.92:25  10.10.1.2:25       189.110.143.126:5371 189.110.143.126:5
371                                                                             
tcp 150.101.179.92:25  10.10.1.2:25       189.175.209.30:14271 189.175.209.30:14
271                                                                             
                                              
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:

Select allOpen in new window

 

by: QuoriPosted on 2009-09-11 at 02:50:06ID: 25307883

Remove:

access-list 102 permit tcp host 10.10.1.2 any eq smtp                          
access-list 102 permit tcp host 10.10.1.3 any eq smtp              

These are causing the port mapping.

Now add:

ip nat inside source static tcp 10.10.1.2 25 150.101.199.99 25 extendable    

 

by: QuoriPosted on 2009-09-11 at 02:51:08ID: 25307887

Or just remove the ACL entries, and replace them with updated ones.

Even though the list is 'NoNAT' by name it is actually acting as an access list defining the interesting traffic to be NAT'd/

 

by: Sc0ttePosted on 2009-09-13 at 17:21:41ID: 25322394

Thanks Quori,

With these line:

>> access-list 102 permit ip host 10.10.1.2 any
>> access-list 102 permit ip host 10.10.1.3 any


How would they cause port mapping?  I thought they were just allowing outgoing connections from 10.10.1.2 and 10.10.1.3, and a few other IP's in that 102 list.  When i added the 10.10.1.3 (new exchange server) to that 102 list, it was able to send outgoing mail on SMTP.

I don't know why i was getting errors when trying to add:
>> ip nat inside source static tcp 10.10.1.2 25 150.101.179.92 25 extendable
Or how the port mapping was working when i didn't have that command.

I ended up making my config look like this, and uploading it to startup config, then "reload"ing the router...

(Only showing relevant parts)

!
no ip http server
no ip http secure-server
ip nat inside source route-map nonat interface Dialer1 overload
ip nat inside source static tcp 10.10.1.1 21 150.101.179.92 21 extendable
ip nat inside source static tcp 10.10.1.2 25 150.101.179.92 25 extendable
ip nat inside source static tcp 10.10.1.2 443 150.101.179.92 443 extendable
!


access-list 102 permit ip host 10.10.1.2 any
access-list 102 permit ip host 10.10.1.3 any

Seems to work as predicted now, with all external mail/ssl going to 10.10.1.2, and outgoing permitted from 10.10.1.2 AND 10.10.1.3..  I also tested port forwading the SMTP/SSL to 10.10.1.3 which worked.

Do you think loading the script into startup config and "reload"ing the router made this work?

 

by: QuoriPosted on 2009-09-13 at 19:25:14ID: 25322708

Nope. What worked is what I instructed you to do.

Reloading the router just caused the NAT translations to be cleared so the NAT table was fresh.

 

by: Sc0ttePosted on 2009-09-16 at 18:16:55ID: 25352054

I'm still unsure why this works.

How were these lines causing port mapping?

>> access-list 102 permit tcp host 10.10.1.2 any eq smtp                          
>> access-list 102 permit tcp host 10.10.1.3 any eq smtp

And how was it working without the line
>> ip nat inside source static tcp 10.10.1.2 25 150.101.199.99 25 extendable

Thanks  ?

 

by: QuoriPosted on 2009-09-16 at 18:29:41ID: 25352124

Those lines were in an ACL which was specified in a route-map, which was referenced by another NAT statement which caused it.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...