Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

tarffic translation to box inside does not work (reset-i,506E)

Hello.

I need to redirect smtp traffic coming to external PIX interface to a mail server located inside.

I tried to set up the typical scenario but it does not work.

I'm not successfull until I ping from the internal mail server to the remote sender. The connection can successfully be done during 2 minutes about. Later it cannot connect again.

Thanks a lot for your help.

My config with comments:

PIX Version 6.3(5)

interface ethernet0 auto

interface ethernet1 auto

nameif ethernet0 outside security0

nameif ethernet1 inside security100

enable password xxxx

passwd xxxx

hostname fw

domain-name test.cz

fixup protocol dns maximum-length 512

fixup protocol ftp 21

fixup protocol h323 h225 1720

fixup protocol h323 ras 1718-1719

fixup protocol http 80

fixup protocol rsh 514

fixup protocol rtsp 554

fixup protocol sip 5060

fixup protocol sip udp 5060

fixup protocol skinny 2000

fixup protocol smtp 25

fixup protocol sqlnet 1521

fixup protocol tftp 69

names

# - ACL for external iface permitting smtp

access-list 101 permit tcp any host 195.250.132.26 eq smtp log

# ICMP responses permitted

access-list 101 permit icmp any host 195.250.132.26 echo-reply

pager lines 24

logging on

logging buffered informational

mtu outside 1500

mtu inside 1500

ip address outside 195.x.x.x.255.255.248

ip address inside 192.168.1.3 255.255.255.0

ip audit info action alarm

ip audit attack action alarm

pdm location 192.168.1.5 255.255.255.255 inside

pdm logging informational 100

pdm history enable

arp timeout 14400

global (outside) 1 interface

nat (inside) 1 0.0.0.0 0.0.0.0 0 0

# - static translation external:25 -> 192.168.1.5:25

static (inside,outside) tcp interface smtp 192.168.1.5 smtp netmask 255.255.255.255 0 0

# - ACL applying to ext. intarface

access-group 101 in interface outside

route outside 0.0.0.0 0.0.0.0 195.250.132.25 1

timeout xlate 0:05:00

timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00

timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00

timeout sip-disconnect 0:02:00 sip-invite 0:03:00

timeout uauth 0:05:00 absolute

aaa-server TACACS+ protocol tacacs+

aaa-server TACACS+ max-failed-attempts 3

aaa-server TACACS+ deadtime 10

aaa-server RADIUS protocol radius

aaa-server RADIUS max-failed-attempts 3

aaa-server RADIUS deadtime 10

aaa-server LOCAL protocol local

http server enable

http 192.168.1.0 255.255.255.0 inside

no snmp-server location

no snmp-server contact

snmp-server community public

no snmp-server enable traps

floodguard enable

telnet timeout 5

ssh timeout 5

console timeout 0

dhcpd lease 3600

dhcpd ping_timeout 750

dhcpd auto_config outside

terminal width 80

3 REPLIES

Re: tarffic translation to box inside does not work (reset-i,506

Hello Jaromir,

your config looks ok. Are there any other devices in the path between the external host and the PIX ?

Regards,

GNT

Re: tarffic translation to box inside does not work (reset-i,506

I agree your config looks OK. I have done a telnet 195.250.132.26 25 from the internet and can't get response .. Are you able to see any smtp hits on your mail server ..?

New Member

Re: tarffic translation to box inside does not work (reset-i,506

These addresses are not real, it is just in my testlab.

The problem was in OS on the internal side. I changed the OS and it's working fine.

Please, close the thread.

Thanks very much for your help.

89
Views
0
Helpful
3
Replies