I want to setup an exchange server behind Cisco ASA. I have a static ip from the ISP with Subnet mask and Gateway details. My setup is as mentioned below.
Static IP from ISP - 80.227.*.*
Subnet Mask - 255.255.255.252
Gateway - 80.227.**
My internal IP is 192.168.1.0/24 and my mail server ip is 192.168.1.7
I know in ASA for outside interface i should give the Static Ip i have with Subnet mask from ISP and by setting up default gateway on routing i should be able to browse the network from my LAN. (Correct me if i am wrong)
I have an MX record for my domain with the static ip i am having.
What i want to know is how i should configure mails coming to the static ip to go to the exchange server with LAN ip 192.168.1.7
For eg i want all traffic coming from outside on ports http, https, pop3, smtp and IMAP to go to mail server.