OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • [SOLVED] Firewall Block Policy
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] Firewall Block Policy  (Read 2806 times)

pbolduc

  • Newbie
  • *
  • Posts: 42
  • Karma: 4
    • View Profile
[SOLVED] Firewall Block Policy
« on: February 21, 2017, 08:29:59 pm »
I am trying to create an outbound Firewall Block policy from the LAN interface to the WAN. I would like to prevent attempts from the LAN to access public SMB servers. My firewall policy is as follows:

Proto: IPv4 * Source: 192.168.1.0/24 Port: * Destination: WAN Address Port: File & Printer Sharing Port Group Gateway: *

This policy doesn't work even when i change the destination: WAN Address to Wan Net. However, if I make the Destination: "Any" it works but then it blocks access to my remote IPSec Networks as well. Any help would be much appreciated. I still want the LAN users to be able to access File Sharing services on different IPSec subnets.

Regards,
« Last Edit: February 22, 2017, 07:39:26 am by franco »
Logged

kyferez

  • Jr. Member
  • **
  • Posts: 83
  • Karma: 9
    • View Profile
Re: Firewall Block Policy
« Reply #1 on: February 21, 2017, 08:50:37 pm »
Add a rule above the one you created to allow access to the IPsec subnets for SMB.
Logged

pbolduc

  • Newbie
  • *
  • Posts: 42
  • Karma: 4
    • View Profile
Re: Firewall Block Policy
« Reply #2 on: February 21, 2017, 08:52:35 pm »
 Thanks so much, this worked! For some reason I was hitting a wall! =)
« Last Edit: February 21, 2017, 09:11:08 pm by pbolduc »
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • [SOLVED] Firewall Block Policy
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2