Help: One External IP address to two Ports

Hi all,

This is probably easy for someone out there, but fristrating for me: I have one external IP address, and I want to map this address to one internal server for two ports, both 443 and 25. I am having a heck of a time with this. I have port 25 functional for inbound SMTP, but 443 will not function. What do you think?

Thanks, and I owe ya Starbucks for this one.

PIX Version 6.3(4) interface ethernet0 auto interface ethernet1 100full nameif ethernet0 outside security0 nameif ethernet1 inside security100 enable password HPXley0xt1PTMI03 encrypted passwd YqEfaRhKxNgu7nB3 encrypted hostname pix domain-name osullivans.local clock timezone CST -6 clock summer-time CDT recurring fixup protocol dns maximum-length 512 fixup protocol esp-ike fixup protocol ftp 21 fixup protocol h323 h225 1720 fixup protocol h323 ras 1718-1719 fixup protocol http 80 fixup protocol ils 389 fixup protocol pptp 1723 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 name 192.168.1.10 Socrates name 192.168.1.9 Vista access-list outside_access_in remark EMail Server access-list outside_access_in permit tcp any interface outside eq smtp log access-list outside_access_in permit tcp any interface outside eq https pager lines 24 logging on logging timestamp logging trap warnings logging facility 19 logging host inside Vista mtu outside 1500 mtu inside 1500 ip address outside dhcp setroute retry 4 ip address inside 192.168.1.1 255.255.255.0 ip verify reverse-path interface outside ip audit name ATTACKPOLICY attack action alarm drop ip audit interface outside ATTACKPOLICY ip audit interface inside ATTACKPOLICY ip audit info action alarm ip audit attack action alarm pdm location Vista 255.255.255.255 inside pdm location 192.168.30.32 255.255.255.248 outside pdm location 192.168.1.96 255.255.255.240 outside pdm location Socrates 255.255.255.255 inside pdm logging informational 100 pdm history enable arp timeout 14400 global (outside) 1 interface nat (inside) 1 192.168.1.0 255.255.255.0 0 0 static (inside,outside) tcp interface smtp Socrates smtp netmask

255.255.255.255 0 0 access-group outside_access_in in interface outside 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 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 aaa authentication ssh console LOCAL ntp server 128.252.19.1 source outside http server enable http 192.168.1.0 255.255.255.0 inside no snmp-server location no snmp-server contact snmp-server community tipper no snmp-server enable traps tftp-server inside Vista pixconfig.rtf floodguard enable crypto ipsec transform-set TRANS_ESP_3DES_MD5 esp-3des esp-md5-hmac crypto ipsec transform-set TRANS_ESP_3DES_MD5 mode transport telnet timeout 60 ssh 0.0.0.0 0.0.0.0 outside ssh 192.168.1.0 255.255.255.0 inside ssh timeout 60 console timeout 0 dhcpd address 192.168.1.30-192.168.1.33 inside dhcpd lease 3600 dhcpd ping_timeout 750 dhcpd domain osullivans.local dhcpd auto_config outside dhcpd enable inside username me password 2mSwg3iKyujQeMLT encrypted privilege 15 terminal width 100 banner motd Hello Bill. You look smart today.
Reply to
wosully
Loading thread data ...

There is where the problem is, you have this static PAT statement to redirect SMTP from the outside to the machine SOCROTES, however you do not have the same entry to allow HTTPS, you need to enter:

static (inside,outside) tcp interface https Socrates SMTP netmask

255.255.255.255

save the config and perform a 'clear xlate' command and you should be OK.

Reply to
Smokey

As a follow-up, remember that when you do this, you will no longer be able to access the PDM from outside your firewall, as the PDM also uses port 443.

HTH

Reply to
Smokey

Thank you, that was exactly what I needed.

Reply to
wosully

Urrr, I think you mean

static (inside,outside) tcp interface https Socrates https netmask

255.255.255.255
Reply to
Walter Roberson

That is what I meant. Thanks Walter...

Reply to
Smokey

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.