Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
How to block file server from the WAN
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to block file server from the WAN (Read 1058 times)
neutron450
Newbie
Posts: 3
Karma: 0
How to block file server from the WAN
«
on:
July 31, 2023, 08:47:54 pm »
Hello kind folks,
Forgive me for repeating a question if it has come up before. I've done a couple hours of searching and haven't found answers I can get my head around. I have a OMV file server I would like to access within my LAN but I'd like to wall it off from the outside world. Could someone get me pointed in the right direction?
Thank you!
Logged
Patrick M. Hausen
Hero Member
Posts: 6825
Karma: 572
Re: How to block file server from the WAN
«
Reply #1 on:
July 31, 2023, 09:14:59 pm »
If you have a fresh default installation of OPNsense nothing will be coming in through your WAN. The product is default deny as it should.
Devices on LAN communicate with each other without the firewall ever getting involved at all. Your switch does that.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
neutron450
Newbie
Posts: 3
Karma: 0
Re: How to block file server from the WAN
«
Reply #2 on:
July 31, 2023, 09:40:33 pm »
Thanks Patrick, I'll look into getting a switch. That may help.
It is fairly fresh--I've been poking at it over the past few days. The WAN is open so my PCs can access the web. So far so good.
I'm wondering though if it's possible to build a firewall rule that allow access to and from my file server within the LAN, but also keep the server safe from the outside world.
Logged
Patrick M. Hausen
Hero Member
Posts: 6825
Karma: 572
Re: How to block file server from the WAN
«
Reply #3 on:
July 31, 2023, 09:46:58 pm »
For your PCs to access the web the WAN does not need to be open from the outside in. And in the default setup it isn't. I hope you did not explicitly open it.
The firewall knows about directions, what is inside and what is outside, and who initiated a connection. The default setup allows all devices on LAN to open connections outward to the Internet but nothing from the Internet to open a connection inwards.
Also if your PCs and your file server are already in the same LAN, they can communicate - completely without a firewall. How are all these devices connected to each other?
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
neutron450
Newbie
Posts: 3
Karma: 0
Re: How to block file server from the WAN
«
Reply #4 on:
August 02, 2023, 11:08:10 am »
Sounds like I'm all set then. Thanks for the feedback!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
How to block file server from the WAN