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

Port forward mail web behind pfsense[SOLVED]

Scheduled Pinned Locked Moved NAT
3 Posts 3 Posters 2.5k 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.
  • P
    pcbosrders
    last edited by Aug 6, 2011, 3:39 AM Aug 5, 2011, 12:48 PM

    i need to port forward mail and web and dns to server behind pfsense
    i can send my mail from my server but can not get mail to my server
    here is my setup
    wan
    lan–> has mail and web server
    opt1
    opt2
    opt3

    rules for wan
    TCP * 80 (HTTP) webserver 80 (HTTP) * none   NAT forward web to webpage  
    TCP * 443 (HTTPS) webserver 80 (HTTP) * none   NAT forward secure web to webpage  
    TCP/UDP * * DNSserver 53 (DNS) * none   NAT local dns  
    TCP/UDP WAN address 110 (POP3) MailServer 110 (POP3) * none   NAT smtp mail  
    TCP/UDP WAN address 25 (SMTP) MailServer 25 (SMTP) * none   NAT smtp mail  
    TCP/UDP * 21 (FTP) ftpServer 21 (FTP) * none   NAT FTP server

    port forward rules
    WAN TCP/UDP WAN address 25 (SMTP) LAN net 25 (SMTP) MailServer 25 (SMTP) smtp mail  
    WAN TCP/UDP WAN address 110 (POP3) LAN net 110 (POP3) MailServer 110 (POP3) smtp mail  
    WAN TCP * * webserver 80 (HTTP) webserver 80 (HTTP) forward web to webpage  
    WAN TCP * 443 (HTTPS) webserver 443 (HTTPS) webserver 80 (HTTP) forward secure web to webpage  
    WAN TCP/UDP * * DNSserver 53 (DNS) DNSserver 53 (DNS) local dns  
    WAN TCP/UDP * 21 (FTP) ftpServer 21 (FTP) ftpServer 21 (FTP) FTP server

    if anyone of the great people can point me in the right direction
    this would be great

    don't fix it, if ain't broken !!!

    1 Reply Last reply Reply Quote 0
    • M
      Metu69salemi
      last edited by Aug 5, 2011, 1:48 PM

      Don't specify source ports only destination ports. that should remove some problems..

      1 Reply Last reply Reply Quote 0
      • J
        jimp Rebel Alliance Developer Netgate
        last edited by Aug 8, 2011, 8:08 PM

        For the firewall rules you most likely do not want to set a source IP or port.

        The destination of the firewall rule should be the target of the port forward, not "lan net".

        Go over the following docs carefully:

        http://doc.pfsense.org/index.php/How_can_I_forward_ports_with_pfSense%3F
        http://doc.pfsense.org/index.php/Port_Forward_Troubleshooting

        Remember: Upvote with the πŸ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received