Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Multi wan - mailserver on dmz - lan users can't access mail server

    Scheduled Pinned Locked Moved Routing and Multi WAN
    2 Posts 2 Posters 313 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      dgerard
      last edited by

      Hello, i'm new on pfsense and i've got a problem.
      My ISP gives me 2 ip and one gateway

      I've setup pfsense with 3 interfaces :

      lan on 192.168.1.0/24
      wan on 194.x.x.98/29
      dmz on 192.168.20.x/24

      My gateway is 194.x.x.97

      i've added a virtual ip for 194.x.x.99
      and i've nat 1:1 one ip to my mail server 194.x.x.99 -> 192.168.20.18

      i've created rules for access imap, webmail and when i try to access webmail, everything works

      My lan computers are using wan 194.x.x.98 for surfing and my problem is they can't access mailserver
      via 194.x.x99. If i want to access mailserver i must type ip 192.168.20.18 in browser or mail client.

      What can you advise me to be able to access my mailserver from 194.x.x.98 to 194.x.x.99?

      Thanks a lot for your answers, Damien

      1 Reply Last reply Reply Quote 0
      • jahonixJ
        jahonix
        last edited by

        Your users are probably not accessing the mail server by its IP but via its hostname, right? (like mail.example.com)
        Have a look at split-DNS locally then.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.