PF Sense Setup
-
@jsmiddleton4 thank you for your help. After putting the router/modem into IP Passthrough and reinstalling PF Sense its finally working!! I jotted everything step wise down and have a backup of this working config. I have a static ip for LAN (w/dhcp enabled as well) and WAN is getting a public 72.241.x.x address (dhcp also set for that as well).
The one thing that I am confused on is my wireless SSID that was from my router/modem is still up and working which is fine but I cant remote into my hardwired devices from my wireless.
Everything I read about IP Passthrough mode, indicated that my wireless would no longer work but that doenst seem to be the case as I am connected to my wireless now. Dont get me wrong I am VERY grateful it works because I was starting to think okay now I have to setup some old routers for APs as wireless (which is fine just more work). Either way i'd have to probably set them up in PF Sense...which I am guessing is what I have to do now that my wifi is working is add it to pf sense probably.
** Edit, something I just noticed is, the wifi seems to be stable stating connected (on my computer that is wireless and my phone), then i noticed on my phone about 15 min later, it displays ssid as internet may not be available! then give it a minute and it will say connected and stay that way for a while...so maybe because the modem is in passthrough mode the wireless just isnt as strong as it is when its not in passthrough mode. If that is the case i have no issue setting up APs for a more solid boost of wireless.
FYI- yes I have my Hitron modem/router in IP Passthrough mode, specifically looks like this.
BUT I also have a wifi extender which im betting that is casting my 'original' SSID that was programmed from my router/modem.
Now my question is...how do I get my wireless devices to communicate w/my hard-wired devices & vice versa?
I have pinged the IP of my pfsense box and my pihole box (both are hardwired) and I cant connect to them.
When I setup pf sense tonight I was connected via hardwired connection from the switch.
Thank you everyone for your help and support. I am so grateful for all of your input. I am interested if you guys have any favorite plugins you use for monitoring bandwidth/devices and why?
-
CONGRATS!
Will get to your questions in a moment. For now, savor your victory!
Edit: Is part of your victory you had the PFSense ports wired correctly? WAN to WAN, LAN to LAN? Cables weren't swapped?
-
Wireless
SSID is not why you aren't connecting via wireless to hard wire clients. Assuming hard wired means those clients are connected to the PFSense router.
I'm guessing you can't connect to wired clients via wireless because the PFSense router is doing its job. Your wireless clients are getting IP information from some device other than the PFSense router. Which means those clients are not part of the big happy PFSense family. PFSense won't let them pass.
Need to back up a bit.
What is acting as the wireless access point which is also likely to be the master and the wifi extender the slave?
Wifi extenders typically don't give out any IP addresses or you set them statically. Something is managing the wifi extender.
You maybe able to use your modem's wifi. Might need to manually configure it. Wireless AP's, other than configuring SSID, radio options, etc., don't need setup in PFSense. Wireless AP's are just another wired client. Based on your diagram you'd plug a network cable into your switch which goes to the wireless AP.
There are wireless options in PFSense. A simple wireless AP doesn't need setup there.
My guess is you'll need to go back into your router and turn off its wifi. I'll read about it and see if there's a way to use it. Would require ports 1-3 to be enabled as LAN ports. Could be picking one port to be the outgoing WAN pass through port keeps the others in the mix. Possible. Would think unlikely.
Unless you want to do what others have suggested and double NAT. Your wifi wouldn't be part of the PFSense protected family. At least I don't think so. Double NATing means the modem is its own thing, PFSense is its own thing.
So which port is port 4? The one by the coax jack? The bottom Ethernet port is 4?
-
Yeah interesting. Using the wifi when it's in bridge mode is kind of undefined. You might check what public IP wifi clients end up using. It's probably going to be the same IP pfSense is using as a gateway.
@travelmore said in PF Sense Setup:
Now my question is...how do I get my wireless devices to communicate w/my hard-wired devices & vice versa?
Both those things are going to be difficult to impossible because there is no route between them. Using a separate access point connected to pfSense is going to be much easier if you can.
Steve
-
WiFi modes: Access point
It list AP as possible in the documents. Still digging.
Seems it would need another network cable from PFSense to Port 1-3 however.
-
@stephenw10 said in PF Sense Setup:
Using the wifi when it's in bridge mode is kind of undefined
This.. As mentioned what IP is your wifi client getting.. Does this gateway device also provide nat to your wifi devices while your getting public IP on pfsense, etc.
The better setup is to forget doing anything on that isp device other than providing pfsense internet and public IP. And put all of your devices behind pfsense, be wired or wireless (via AP)..
-
Residential Gateway Setting?
We did so many things I want to double check, this should be Disabled.
While you're there, disable UPNP as well.
When you Save, if you have to change them, the modem will boot.
The documents are confusing as some refer to IP Passthrough as if that's bridged mode, others refer to Disable Gateway as if that's bridge mode.
Also that may change your WAN port on the modem from 4 to 1. This from support site for the modem and doing what you're doing, using the modem as just a modem.
1st: Disable wireless
2nd: Disable Residential Gateway and UPnP.
3rd: Modem will reboot and you will be in bridged mode.
4th: Plug router in Lan1.
It could be IP Passthrough keeps the Hitron in play with its wireless, DHCP, etc., which is why wireless clients are connecting to the Internet but not the PFSense router.
Disabling Residential Gateway makes it JUST a modem.
So both work but not exactly the same way.
It might be a good thing to keep the wireless in play. You'd have a wireless AP. Some one with more insight could explain how you'd create a gateway and a firewall rule in PFSense to let the wireless clients connect to the modem AND be passed through the PFSense router/firewall to be able to connect to its wired clients.
That is doable. Thinking it'd be a WAN gateway/firewall matter.
I wonder if the 3 other Ethernet ports on the modem are still working as well as the wireless?
-
"The CGNVM is the access point, and the computers you connect to the CGNVM are wireless clients."
There's no way I've found to make it a stand alone wireless access point. The documents uses the term, access point, to refer to it being all things to all networks.
-
Just so you have an idea what a stand alone wireless access point looks like and would do, cost as well.
Stand alone wifi6 access point plus its also a ethernet switch. 70 bucks.
https://www.amazon.com/TP-Link-Wireless-AX1500-Wifi-Router/dp/B07ZSDR49S/ref=sr_1_18?crid=2JQRDYED76PPY&keywords=wifi%2B6%2Bwireless%2Baccess%2Bpoints&qid=1641397369&sprefix=wifi%2B6%2Bwireless%2Baccess%2Bpoints%2Caps%2C79&sr=8-18&th=1
-
Sorry I kind of puked on the page here but I have to go. Wanted to get everything I found posted. I'll check back later this afternoon or early evening.
-
Spent the day updating my Dell 390. Was wondering how travel is doing…..
-
@jsmiddleton4 Hello, I appreciate all the information and help as always. No worries about puking on the page lol it takes me a day or two before I am able to get back on and reply or do any troubleshooting and update you. I’ll address all of your posts from the other day in one response. I have not made any changes since setting the modem in IP Passthrough mode a few days ago when I stated I got everything working.
First to share the CURRENT settings on my modem, it is ONLY in IP Passthough mode (pic below)
I did notice something interesting since my modem has been in IP Passthrough mode. Below is a picture of what my devices would normally look like without being in IP Passthrough mode and having it just the normal router/modem setup…notice the Interface column where it lists Ethernet, MoCA, and Wifi. The device titled HT-EMN2 is the wifi range extender.
After putting my modem in passthrough mode (and it currently still is), it turns almost all devices into MoCA except for a cell phone (blacked out). I have the option to disable MoCA, which I think MoCA is part of the wireless but actually the coax part in reality because the settings page lists MoCA, then it says Coax (pic below of part of the settings)
All the devices in the below screen shot display all the devices as MoCA now. Don’t know if that’s anything but I figured more information and screen shots the better.
To add to this, one thing I didn’t think of /realize until now is I have 5 cat5 cables ran into the modem/router because it was being used to hardwire other devices that needed to be hard wired…which now I don’t know how I would get those back to being hardwired…unless I use a switch and connect it to the switch that has the pf sense box (which that is do-able, just means I have to run a cable(s) and/ or provision an old router into a switch)You asked if the modem still had internet access on the other ports if I plugged anything into it, so I did just that. I grabbed my laptop and plugged it one of the open ports on the back of the modem and I get internet BUT I can’t connect to my pfsense box or my pihole that are physically connected (modem pfsense switchpihole)…..when I tried to ping either of those boxes it says destination host unreachable. Which I am betting I am unable to reach them because it would make my laptop be technically in front of the pf sense at that point.
The wifi I noticed today still says Internet may not be available at different points, I am wondering if its now because too many devices or if its something im unaware of that is causing it because it never stated that until I started this project (which I am fine w/it I understand it’s a project and its not fully done yet, it’s a bug that needs to be fixed).
I do have some UNIFI APs but they were part of that group of cat5 cables that plugged into the modem (to connect to the POE Switch).If I make the changes you suggested (below), do I take this out of IP Passthrough mode or keep it in IP Passthrough mode?
1st: Disable wireless
2nd: Disable Residential Gateway and UPnP.
3rd: Modem will reboot and you will be in bridged mode.
4th: Plug router in Lan1
Let me know if you think I should make the changes you mentioned above or if I should do something else after sharing this update.
Again, thanks man for your help I really appreciate it. -
You probably don’t need MoCA mode. That’s for using coax cable like old network runs, some times cable boxes can do MoCA but very rarely ever setup that way. Plus devices you connect to via a MoCA connection have to also be MoCA able.
Its not impacting your PFSense setup. Just saying…..
Based on sorting through the information on your modem I’d say you want to switch so the setup is the four steps. It should over write your previous settings. Which means plug into LAN 1.
Having said that, while I was just speculating I do think there’s a way you can keep the modem as a wireless access point so you don’t need to buy one. That would mean keeping your modem setup just the way it is, IP Passthrough, Wireless still active. The DHCP pool you’d setup in the modem would have to be different than the DHCP pool in the PFSense box. IP Passthrough keeps the wifi, dhcp server, etc., all active in the modem. Which is what your screen captures show.
You’d have to create the relevant gateway/firewall rules for the IP address ranges you’ve setup in the MODEM to pass through the PFSense box.
Setting the gateway/firewall rules to do so not something I’ve done or learned. In other words one of the other helpful folks would have to assist. What I do know is it would only take a couple and it would not be complicated. They’d be on the WAN in the PFSense box. They’d have to be setup so ONLY the wireless devices connecting to the modem are able to get through the firewall. All your clients could talk to each other.
Not having the gateway/firewall rules to let clients hanging off the modem in place in the PFSense box is why you can’t connect “modem” clients to anything connected to the PFSense box.
IF you don’t want to attempt such, then do the wireless off….steps.
I’m assuming the Unifi AP’s are powered POE. All you’d have to do so as to use them is instead of plugged into the modem, plug them into a switch that is connected to the PFSense box. Or a switch that is connected to a switch as you noted.
Since you have those, that’s another reason to simplify the modem by turning everything off beyond being a dumb modem. You don’t need the wireless in the modem.
Given your setup more than likely not setup to play well with others would be my guess as to why the internet comes and goes on your wireless.
It is not too many clients. At least very unlikely.
IF you want to simplify the modem, move the AP’s to a switch that is getting dhcp, DNS, etc., from the PFSense box, absolutely turn the wifi off, disable gateway, attach to its LAN port 1, boot the modem.
Don’t change the connection at the PFSense box. It’ll get WAN information from LAN Port 1 instead of port 4 is all. You might have to refresh the WAN lease or boot the PFSense box once the modem comes back up.
Edit: What’s that HT-EMN2 hanging off the MoCA interface?
-
@jsmiddleton4 Well I might need MoCA ....as in your question where does the HT-EMN2 (wireless extender), hangs off of the modem, via coax.
this pic below is the pic of my modem/router.
A wall outlet w/coax connection is where the ISP comes into the house, that coax cable from the wall connects to the coax cable in the back of the modem/router.
i know i have tried to login to the wifi range extender but I am unable to make ANY changes to it. Even tried hard resetting it once and it wouldnt clear, it would just boot back up to the configured settings (that i couldnt change).
I will look at doing the first steps you suggested about disable wireless, res. gateway UPnP mode, etc. and see how that works. That is going to be a weekend project for sure because i'll have to run a cable or setup a switch to a switch to get everything connected again. I will have to think about how im going to do that before i start turning off the wireless.
i'll keep you posted.As for wireless, im thinking the modem/router doesnt like the setup and my exact thought was too many clients, i disconnected my work laptop from a hotspot today and it grabbed onto my home wireless and right then i look at my phone that is on home wireless and it starts saying 'internet may not be avaliable' then a few min. later it kicks back in just fine. Its definetly something wonky that hasnt happened until i started this project.
-
So you have a splitter on the coax that feeds the modem somewhere?
Are you sure you can get the PFSense box 2nd in line?
I’ve never seen a MoCA wireless extender. Only ever seen wired AP’s, power line adapters or wireless repeaters.
-
@jsmiddleton4 There is a splitter on the cable that goes to the wireless range extender.
I just checked and there is no coax splitter on the main modem.
Here is a pic before all of this pf sense how the router/modem looked.
Here is a pic (below), of how the setup currently is w/the modem being in IP Passthorugh mode and the cat5 connecting to the pf sense box (in basement)
here is the starting point of the coax cable that goes into the modem, then the rest of those cat5s were what i was referring to earlier where i used to have them all plugin to the modem before pf sense.
here is the hitron range extender.
This is how the setup is currently which I would believe make the PF Sense box 2nd in line (to answer your question)...and w/this current setup is where we are still finding a way for the wireless devices to connect to pfsense, so all devices can be monitor and or all devices can see each other on the same network...which as you stated earlier to try the 1-4 steps above.
-
Good morning.
One of the things that's making this harder than it needs to be is trying to figure out a way to keep everything you have in place and setup the PFSense box.
Makes things complicated and for the PFSense box to fully do what the PFSense box is designed to do it needs to be the master for lack of a better word.
Which means for you forget the modem and the way anything you have working which is connected to the modem. Make it dumb, hook its WAN output to the WAN on the PFSense box. Make sure THAT works.
Which you've done. At least the diagram looks like it. You should be able to wire to the Switch and connect to the internet through the PFSense box.
Everything else you need for your network infrastructure will in one way or the other be hung off the PFSense box.
If you need a wired wireless extender upstairs, we'll figure out how to get a wireless extender upstairs working but through the PFSense box.
What I was talking about leaving the modem in IP Passthrough means you'll have two separate networks. You'll have one that gets its DHCP/DNS, etc., through the modem AND uses the modem as the gateway to the internet. One that gets its DHCP/DNS, etc., through the PFSense box AND uses the PFSense box as its gateway to the internet.
Let's say the modem's dhcp range is 1.100.100.1-1.100.100.100. All your clients be they wired or wireless hung off the modem will get a dhcp in the 1.100.100.1 range.
For the clients hung off the modem to see clients hung off the PFSense box you'd have to tell PFSense to let anyone with a range of ip's 1.100.100.1-1.100.100.100 through its WAN port. And to let any of the PFSense clients go through to the modem.
Then the two networks are able to talk to each other.
Is that possible? Sure.
Probably more complicated than doing double NAT which others have mentioned as an option. Double NAT means the modem does everything it can do. The "WAN" information the PFSense box uses is a LAN IP from the modem. Clients on the PFSense box connect to the internet through the LAN port of the modem. Both modem and PFSense do network address translation, NAT. The modem does its NAT using the ISP provided IP information. PFSense does its NAT using the IP the modem gives it.
Works fine. Probably gateway and firewall rules so the two networks can talk to each other. Everything hooked up to your modem works through your modem. Everything hooked to the PFSense box works through the PFSense box which sends everything to a LAN port on the modem and the modem connects the PFSense box clients to the internet.
Either is not having the PFSense box do the heavy lifting which is where I thought you were going.
IF you want the PFSense box to do the heavy lifting, what its designed to do, make the modem a dumb modem, shut down its wireless, turn off residential gateway, connect the WAN port of the PFSense box to LAN 1 on the modem, boot if you have to, make sure wired clients hung off the PFSense box can get to the internet. (Connecting to a switch which is connected to the PFSense box is just like connecting directly to the PFSense box.)
Once that's done, work through how to setup all the other things you need.
One step at a time. Not all of it at the same time.
From what I can tell everything you need to do can be done through the PFSense box.
Your MoCA connected, wired, wireless extender. May not be configuration options. It might be getting all its information via DHCP and the modem/router. There are MoCA adapters which you can connect via ethernet to the PFSense box and then coax to your extender. IF you have to keep using coax that's not a deal breaker.
You have to decide how you want your network to be setup. There's no right or wrong. There's how you want it. Then we can advise how to do so.
Not trying to be a wise guy. Just saying we can't hit a moving target.
Edit: Your wireless extender can be a wifi repeater. Doesn't need a wired connection. IF wired, can be coax or ethernet. Did you buy the ISP equipment or are you leasing it?
https://us.hitrontech.com/products/service-providers/ht-emn2-wifi-extender-with-moca/
-
@jsmiddleton4 Hello, thank you again for the information and time you've put into helping me figure this out. I really appreciate it and just so you know Ive been taking notes as I go, so I have reference points if needed in the future, so the info you give isnt going to waste.
I do want my PFSense box to do the heavy lifting, what it is designed to do, you are correct in that. Tonight I will, do as you stated, make the modem dumb, etc.
You are right, one step and a time not all of it at the same time. I get caught on that part at times.
I bought my ISP equipment, specifically the modem/router and the wifi range extender, granted it was years ago but its still good.
I will keep you posted once I make my modem dumb and work on my network diagram to see how we can make it work, the 'fun' (not) thing will be either moving equipment around or re-running cables. which that is something I have to figure out.
-
I'm more than happy to help and kudos to you for sticking with it.
Tell me about the other wireless AP's you have. One way or the other you're going to need wireless AP's. I'm assuming preference is to use what you have if at all possible.
Based on the reading on your MoCA wireless extender it does get its "setup" information from the modem/router. It is "automatically" setup. Still working on what that actually means.
I have played with several wireless repeaters. Plug them in for power where you need them. Easy to setup. Can hard wire to them and use them as AP's. NOT expensive.
https://www.amazon.com/NETGEAR-Wi-Fi-Range-Extender-EX6250/dp/B07MDZ8G4T/ref=sr_1_7?crid=384GTQASI0E7R&keywords=Netgear+wireless+repeater&qid=1641586211&sprefix=netgear+wireless+repeater%2Caps%2C89&sr=8-7
-
I'm trying to nail down if you can connect a MoCA adapter so it gets its info from the PFSense box yet put a splitter on the coax feed. The question is will that mess with the ISP data sent to the modem on that same COAX cable.
It is possible to do. Read several "How to's" from folks who did just that. But their modem/router stayed in the loop as both. Not JUST a modem which is where you're headed.
You don't want the modem to do anything MoCA.
So it may be possible to keep using the coax feed to the upstairs and the PFSense box doing the heavy lifting. PFSense ethernet to a MoCA adapter. The MoCA adapter coax to a splitter on the COAX feed. Upstairs the receiving MoCA adapter. All the while the modem gets the WAN info from the ISP via the existing COAX connection.
1gbs MoCA pairs not expensive either. Some have the splitter already built in.
I'm still not confident if you can do that by adding one new adapter hanging off the PFSense box and keep using the MoCA wireless extender upstairs.
You might have to disconnect that wireless extender from your modem, plug in an ethernet cable. Poke around in the wireless extender via just ethernet. That way the modem isn't sending anything to the extender "Automatically". Do that and MAYBE you can configure it independently.
EDIT: Looks like you can use the MoCA wireless extender on its own without the hitron modem/router. IF you go that way only thing would be to setup the two MoCA adapters so they are on the same frequency, etc., for the COAX feed.
https://us.hitrontech.com/wp-content/uploads/2020/07/HT-EMN2_datasheet_2018-01-24.pdf