Can't get mail from LAN (Solved)
-
Hi everyone,
I hope this isn't a stupid question but I could use some guidance on setting up PFSense.
I bought a box from PFSense to replace an Apple Airport base station, which is now disconnected. I managed to set to the WAN and LAN so that each client can access the internet, this works fine.
Next, I navigated to Firewall > NAT > Port Forward and copied over the settings from the airport for the services I need so that traffic for the mail server is routed correctly.
Example rule:
Interface: WAN
Protocol: TCP
Destination: WAN address
Port: 25
Redirect target IP: mail server's IP
Redirect target port: 25
I tried letting PFSense create its own filter rule as well as trying "pass"I tested this from outside the network and I can send and receive mail just fine. If I try from a client on the LAN, no dice. I can ping the mail server fine, the client can load web pages but mail isn't working.
I'm sure it's something obvious that I'm missing here and any help would be appreciated.
-
You are running a global post-office. And how does your client address from LAN to that SMTP-server ? By Public IP ?
-
I'm not sure what you mean by global post-office.
Mailserver is mail.companyaddress.com. I can ping the address from within the LAN fine.
It was working great with port forwarding through the Apple Airport.
-
I'm not sure what you mean by global post-office.
…You state that you have an post-office at your location…
Sending mail from your client LAN to mail.companyaddress.com is NOT a rule on WAN or Port-Forwarding or NAT, but a rule on LAN to anywhere.
-
I'm running a mail server on the LAN.
How would I define a rule on LAN to anywhere?
If you're referring to the default Firewall > Rules > LAN rule, that hasn't been touched and a client on the LAN can access web pages.
What I'm stuck on is that a client outside of the LAN is able to get through port forwarding and access the mail server. A client on the LAN cannot.
-
https://doc.pfsense.org/index.php/Why_can%27t_I_access_forwarded_ports_on_my_WAN_IP_from_my_LAN/OPTx_networks
-
Thank you ptt, it's working as expected now.
-
You're welcome !
Glad to be of help ;)
Maybe you can to edit the First post title, and add [Solved]
-