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

    Inter Vlan Traffic deny all except a few Addresses

    Scheduled Pinned Locked Moved Firewalling
    4 Posts 2 Posters 424 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.
    • A
      abidkhanhk
      last edited by abidkhanhk

      Hello,
      How can i create an intervlan rule where everything between the vlans is denied except 2 -3 specific hosts,

      so the UserVLan tab is as following
      Protocol Source Port Destination Port Gateway Queue Schedule Description Actions

      •     USERVLAN	*	192.168.2.42	*	*	none	 	Domain Controller Allowed	
        
      •     USERVLAN	*	SERVERVLAN net	*	none 		               DENY ALL
        
      •     USERVLAN	*	*	*	*	none	 	Default allow UserVLAN to any rule	    
        
      •     USERVLAN	*	*	*	*	none	 	Default allow UserVLAN IPv6 to any rule	    
        

      I think i am making a mistake in the order, can someone please give me the correct order, thanks.

      A 1 Reply Last reply Reply Quote 0
      • A
        abidkhanhk @abidkhanhk
        last edited by

        Ok this is weird, after a while the rule started working...
        i am very sure i reloaded filter many times manually...

        1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator
          last edited by

          @abidkhanhk said in Inter Vlan Traffic deny all except a few Addresses:

          i am very sure i reloaded filter many times manually...

          Reloading filter doesn't kill states.. It just reloads the rules..

          So states would of naturally ended or timed out.. When you have a new rule where states might already exist, you have to kill those states..

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.8, 24.11

          A 1 Reply Last reply Reply Quote 1
          • A
            abidkhanhk @johnpoz
            last edited by

            @johnpoz
            Noted, Many thanks.

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