hutiucip,Well, besides being insulting in your first paragraph,
Is OPNsense only supposed to be used by networking gurus, and not by people who just want a better router in their homes than what they can buy off the shelf? Sometimes, I wonder, given the effort some people seem to make to avoid posting clear answers to what should be simple questions.
If I sound ticked off, I am a little bit, given that you found my confusion so funny, and then apparently made an effort to post a reply that would only serve to 1) insult me and 2) confuse me more.
It's not at all funny when you don't understand, even if the answer may be obvious to anyone else.
franco, I sent you a PM.Basically, I have just one question at this point, if anyone cares enough to type a useful two-word answer: Should I have used something other than "any" (which is what franco had told me to use), specifically "WAN Net" or "WAN Address", as the destination, in order to block access to the Internet but still allow access to services in OPNsense? And if so, and this is the most important question, which of those two would be the better choice? This is a very simple setup, one WAN port that connects to a cable modem and one LAN port that connects to a switch. No additional WAN or LAN networks beyond that; I wouldn't know how.
Now, if someone can explain the difference between "WAN Net" and "WAN Address" without resorting to jargon or esoteric concepts that would fly right over my head, I would very much appreciate it, but really I just need to know which is the correct choice, "WAN Net" or "WAN Address".
It's like if I were asking someone how to fry an egg. I don't need to know the history of eggs, nor the different breeds of chickens, nor what type of chicken feed produces the best eggs. Nor do I need an explanation that involves using kitchen utensils I've never heard of before in my life. None of that would be the slightest bit helpful to me, and I'd probably walk away hungry.
I'd also ask people to remember that there was a time you didn't know any of this stuff either. You probably asked questions and learned from the answers, but only if the person explaining could do it at the level you were at.
A child learning multiplication is not going to learn a thing from someone explaining calculus. And, you probably didn't learn much if someone tried to make you feel stupid for asking questions (I had an 8th grade algebra teacher that did that, and to this day I do not know algebra).
I'm beginning to think no one really understands OPNsense, and we are all just guessing and making it up as we go along?
On the LAN interface in FW place on the very top a "block" rule from surce being the IP address 192.168.1.X/32, to destination !LAN net (the exclamation mark means that you check "destination / invert", so that you invert the sense of match). This way, any request made from that IP address (the source) to any destination which is NOT something in the LAN IP address range, will be blocked. Other source IP adresses (aka hosts, devices) from LAN will not be blocked by that rule simply because their IP address is not a match for the source in the FW rule. And, of course, your FW and its services, like NTP, DNS, DHCP etc., will be reachable even for that particular device, with that particular IP address set as source in that FW rule.
As you maybe have deduced already from the first answer, upon, NEITHER of WAN net and WAN address is the correct choice for what you want to accomplish.Regarding the difference between them, try to understand the concept:WAN net is the network space - or IP range - in which the WAN IP address of your router resides, but it's not the whole internet. This is commonly established by your ISP, it is out of your control, if and only if your FW is directly connected to the internet on the WAN interface. Since I remember you said before that your FW's WAN interface is connected directly to a modem, the WAN net is your FW's WAN IP and / + the modem's WAN IP. The WAN net of the modem, for example, is the modem's WAN IP and / + the IP of the ISP's router connected to the WAN interface of the modem. And so on, and so forth.
WAN net is for WAN interface, and from the WAN interface point of view, all IP addresses reachable directly, without the need for a single router as a GW.
This is why I said before that WAN net is similar to LAN net, and WAN address is similar to LAN address: for both nets you don't need more than an unmanaged switch, or a direct connection, in order to fully reach any IP address in that net.
Had you replied with that in the first place, it would have saved a lot of hard feelings and needless typing!
It still makes no sense to me why a firewall rule that supposedly cannot restrict communications between devices on the local network somehow manages to restrict communications to OPNsense itself, even though OPNsense is very much on the local network.
So the traffic is not blocked only because the switch is intercepting it and it's never getting to the router? That's interesting.
See, it's when you throw in things like this that you confuse me. Mentioning "all IP addresses reachable directly, without the need for a single router as a GW" just makes me wonder what you are talking about. Maybe there are situations where the WAN net would have more than two devices on it (the cable or DSL modem, and the device running OPNsense) but for a home user that's a very atypical situation.
People state their opinion and their views not to annoy, but to share and learn.
Also, they haven't banned me yet, so how bad can they be?
Quote from: franco on December 08, 2017, 08:08:39 amPeople state their opinion and their views not to annoy, but to share and learn.If you can read that post that I was replying to and honestly believe he was not deliberately trying to annoy, then that's a big part of the problem with this forum.Since I apparently have to spell it out, the reason it's annoying is because by now he definitely knows that I know next to nothing about networking, and that furthermore I don't really want to get into the more esoteric aspects of it. It is not one of my goals in life to become a networking guru; I'm really just trying to run a home network, and by now he knows that. And yet he insists on giving these long and rambling explanations that he knows full well I will not understand, AND he seems to think I should be grateful that he is dumping all this knowledge on me. Or something like that.If you only want people well-versed in networking to use OPNsense, and not plain old users that just want to know enough to make the software work in a functional manner, then maybe you should just come right out and say that, because that's definitely the vibe I am getting. I have already figured out that there are certain advanced features in OPNsense that I will never understand, and that's fine, and I'm not asking about those. But when you have to ask questions to even make basic functionality work, and then no one can explain how those work in a clear and concise manner, that indicates a failure in the documentation at the very least. And by the way, while on that subject, no one has yet explained how or why you'd use the "WAN Address" setting in the destination dropdown, since there doesn't appear to be any way to specify a specific WAN address, and if any of your documentation explains that, I've been unable to locate it. Even something as simple as that is apparently not documented (same is true of LAN Address). And while it's not important for me to know that now, it still bugs me that so much in OPNsense doesn't appear to be well documented AND that certain people in this forum seem to assume that you're thick in the head if you don't already know this stuff. And then if you ask, you get some long, rambling reply that you couldn't understand if your life depended on it, along with maybe an insult or two to boot. And as the moderator, you see nothing wrong with that type of reply, but if the person on the receiving end shows annoyance, you are right there to express your displeasure.Part of the reason I rephrased some of what was posted when I finally "got it" about what I was doing wrong was an effort to show how to phrase things if you are trying to explain them to normal people. I am not the best writer in the world, but if I understand how to do something and I am trying to explain it to someone else, I TRY to make that explanation as clear as possible, and to write at their level, and to answer the question they asked and not answer the question I think they should have asked. I almost made a snarky comment to the effect that "this is how you should learn to write" but since I don't think my writing skills are all that great, and since I was trying not to raise the temperature of this thread any higher at the time, I thought better of it.As this point I feel VERY unwelcome here and while I know a couple of people will be quick to say it's my own doing, all I will say is that I have participated in many forums over the years, on many different topics, and I can only think of maybe a two or three others where I have been this annoyed by the responses I have received to simple questions, and I am just not the type to quietly let people crap all over me. And therefore I should just stop posting as you suggested, and I intend to, and while I have a great urge to say "I will never post in this forum again!", my fear is that after having put all this effort into getting OPNsense to work, they day may come that something might stop working and then I will be forced to try to find out why. So I am not going to say that, but from now on I am going to avoid posting anything in this forum unless I feel it is an absolute necessity.The only other thing I will say, which is something I said to you in my PM, is that you really ought to consider making a new board on here specifically for people who are new to programs like OPNsense and who know little or nothing about networking in general, so at least there would be a spot where new users could ask questions and the regulars would not assume that if they are trying to use OPNsense, they must have some advanced networking knowledge. Unless I am right in thinking maybe that is a type of user you really don't want in the first place.So for now, goodbye, and thank you to those who did post helpful responses. This will be my last post in this thread, and quite possibly on this forum.
no one has yet explained how or why you'd use the "WAN Address" setting in the destination dropdown, since there doesn't appear to be any way to specify a specific WAN address, and if any of your documentation explains that, I've been unable to locate it
Even something as simple as that is apparently not documented (same is true of LAN Address). And while it's not important for me to know that now, it still bugs me that so much in OPNsense doesn't appear to be well documented