Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Need some explanation on how to block outgoing traffic without floating rule
« previous
next »
Print
Pages: [
1
]
Author
Topic: Need some explanation on how to block outgoing traffic without floating rule (Read 5372 times)
DualBoot
Newbie
Posts: 1
Karma: 0
Need some explanation on how to block outgoing traffic without floating rule
«
on:
July 10, 2018, 12:09:46 am »
Hello Team,
I reached to install OpnSense on a proxmox virtualization station.
To keep the thing simple I use Network Intel Interface and set 2 interfaces :
- em0 with a public IP bound to vmbr0 which is the public bridge
- em1 with a private IP bound to vmbr1 which is a dummy interface in Proxmox context
Adding extended gateway in the webui ease the setting of the firewall. So my Gateway has different public IP from em0 .
Everything seems to run accordingly to what I want but I have something that I can not understand : why do I need to use a floating rule to block all outgoing traffic ?
All my rules are actually set on the Wan interface to allow ingoing traffic , the in system default rule on this interface is to block all incoming traffic. But at the opposite all outgoing traffic is allow on this interface and if I set up a rule to block all outgoing interface, it does not work and I get this message in the live view :
let out anything from firewall host itself
So I read that floating rule is evaluate first and allow to spread, for what I understand, the policy on all interface. I could block all outgoing traffic by setting a floating rule but I would know why this works like that ? Why I can not set a deny all policy directly on the WAN interface ?
Thank you for the job, regards,
DualBoot
Logged
youngman
Newbie
Posts: 39
Karma: 5
Re: Need some explanation on how to block outgoing traffic without floating rule
«
Reply #1 on:
July 11, 2018, 04:31:25 pm »
The traffic you are describing as 'outgoing' is actually coming into the router through which interface? Try setting your block (or preferably 'reject') rules on that interface instead e.g. the LAN interface.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Need some explanation on how to block outgoing traffic without floating rule