creeping666
Technical User
Hi, I current have an email server that:
1) Receives email using the SMTP extended protocol on port 25 from only a certain group of IP addresses.
2) Hosts web mail using the HTTPS protocol on port 443.
Device: cisco 877 (C870-ADVIPSERVICESK9-M), Version 12.4(24)T1
Current working code below
I would like to change the web mail port to the non standard port 29001, but I can not seem to get it to work. I have tried a few ways and I thought the test code below would be simple enough to get it to work, but it does not.
Web mail can be accessed locally on the LAN via so I know its working. Could someone point me the right direction?
Thanks.
1) Receives email using the SMTP extended protocol on port 25 from only a certain group of IP addresses.
2) Hosts web mail using the HTTPS protocol on port 443.
Device: cisco 877 (C870-ADVIPSERVICESK9-M), Version 12.4(24)T1
Current working code below
Code:
ip nat inside source static tcp 192.168.180.2 25 interface Dialer0 25
ip nat inside source static tcp 192.168.180.2 443 interface Dialer0 443
ip access-list extended EMAIL_SERVER
permit ip any host 192.168.180.2
object-group network SMX_EMAIL_SERVERS
range 203.84.134.0 203.84.135.255
range 113.197.64.0 113.197.67.255
ip access-list extended SMX_TO_EMAIL_SERVER
permit tcp object-group SMX_EMAIL_SERVERS any eq smtp
class-map type inspect match-all EMAIL_SERVER-SMTP_TRAFFIC
match protocol smtp extended
match access-group name SMX_TO_EMAIL_SERVER
class-map type inspect match-all EMAIL_SERVER-WEBMAIL_TRAFFIC
match protocol https
match access-group name EMAIL_SERVER
class-map type inspect match-any MAIL_SERVER-TRAFFIC
match class-map EMAIL_SERVER-SMTP_TRAFFIC
match class-map EMAIL_SERVER-WEBMAIL_TRAFFIC
policy-map type inspect INTERNET-TO-VLAN1
class type inspect MAIL_SERVER-TRAFFIC
inspect
I would like to change the web mail port to the non standard port 29001, but I can not seem to get it to work. I have tried a few ways and I thought the test code below would be simple enough to get it to work, but it does not.
Code:
ip nat inside source static tcp 192.168.180.2 443 interface Dialer0 443
class-map type inspect match-all MAIL_SERVER-TRAFFIC
match protocol https
policy-map type inspect INTERNET-TO-VLAN1
class type inspect MAIL_SERVER-TRAFFIC
inspect
Web mail can be accessed locally on the LAN via so I know its working. Could someone point me the right direction?
Thanks.