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

    Blocking from Lan to Wan on port 25

    Scheduled Pinned Locked Moved Firewalling
    3 Posts 2 Posters 1.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.
    • U Offline
      uz
      last edited by

      I'm trying to block all traffic from any PC's to the Wan on port 25 except from my mail server which is 192.168.2.47.  I've tried to configure the rule and always end up blocking all traffic including mail server or block nobody.  Currently the rule is set as follows

      The way I read this current rule is that it blocks all but 192.168.2.47 to connect to the WAN on port 25. However it allows anybody on the LAN to connect.
      If I change Source to "LAN net" than it blocks the mail server as well.
      I'm using Version 1.2-RC3.

      Any help is greatly appreciated.

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG Offline
        GruensFroeschli
        last edited by

        Destination should be any.
        WAN address means exactly that. The address of the WAN.

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • U Offline
          uz
          last edited by

          That worked. Thank You.

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