Fiber optic to pfSense Box
-
What should I look for when searching for an SFP module that is compatible with my box and the ISP ?
Logging into and configuring SFP module, that's understandable. Where can I find this kind of information ?
My ISP is A1 Bulgaria.
Otherwise, you're telling me I should discard what I am thinking and just use my modem in bridge mode while my pfSense works as a router ?
It is possible that my ISP can refuse to register my GPON device . How do I make sure ISP doesn't do that ?
-
@demonaii said in Fiber optic to pfSense Box:
What should I look for when searching for an SFP module that is compatible with my box and the ISP ?
found the spec for the ZTE ZXHN F670 (non-L) model. Not sure if the F670L is the same or different.
https://www.router-switch.com/pdf2html/pdf/zte-zxhn-f670-datasheet.pdf
Do you use the ZTE for VoIP or IPTV service? If so, then you will never be able to completely eliminate it. You would have to figure out how to put it in bridge or pass-thru mode.
-
Right now, they are only two devices that are connected to the network, a computer and a smart TV box. I plan on connecting more devices via a switch, however that's not important right now.
The only information I can gather from the manual in the box for the ZXHN F670L is that it uses an SC/APC GPON optic interface.
Searching for further information on the net, I find conflicting information, for example:
https://www.telecomate.com/zte-zxhn-f670l.html
This website writes about SC/UPC interface, even tho it has the same model. No information for wavelength.https://www.ycict.net/products/zxhn-f670l-ftth/
This website writes about SC/APC interface and wavelength, however I don't have information on my side to verify that my router/modem uses the same wavelength.https://fiberm.pl/en/zte-zxhn-f670l-ce-gpon-ont-4xge
This website writes about the same interface from the first example but adds the question of different GPON class. -
@demonaii said in Fiber optic to pfSense Box:
It is possible that my ISP can refuse to register my GPON device . How do I make sure ISP doesn't do that ?
You could call them and ask. But many ISPs are just clueless about that stuff so you may get nothing useful there.
You could just try it and find out.
Or you could try to find some other customers from that ISP who have tried it already. That's what I would do first. Perhaps they have a user forum or reddit channel etc.
-
I'd just put the device in bridge mode, but it doesn't seem very user friendly.
https://www.animmouse.com/p/converge-zte-bridge-mode/#google_vignette
-
I contacted tech support, and they told me that bridge mode is enabled and that the public IP goes to the second router behind my modem. Which will be my future Netgate 2100 .
When it comes to the modem, I am not sure if ISP can provide me with this information.
-
That probably isn't using gpon on the 2100 though. I would expect bridge mode like that to be passing the IP via Ethernet.
-
@demonaii Agree with @stephenw10 - If your ISP box supports/can run in Bridgemode, then use that. Bridgemode means that it will transparantly bridge (switch) from the very complicated GPON setup to standard Ethernet on the inside - to which you can easily connect your pfSense’s WAN interface.
Setting up a GPON SFP directly in your pfSense to work with your ISP can be borderline impossible. It may (probably will) require information/settings that you cannot obtain unless the ISP is willing to assist you and detail EVERY requirement they place on their GPON delivery setup - something I’ll bet they wont :-)
-
@demonaii said in Fiber optic to pfSense Box:
I contacted tech support, and they told me that bridge mode is enabled and that the public IP goes to the second router behind my modem. Which will be my future Netgate 2100 .
When it comes to the modem, I am not sure if ISP can provide me with this information.
Have you checked the SFP module in the modem? Can you try to simply move it over to your pfsense box, it may be compatible?
One thing that may be needed is to spoof the MAC from the ZTE unit they have provided.ISP's are different of course but I have done exactly that with three different ISP's I've had in the past few years, all with their own and quite different equipment installed at my place.
-
@Gblenn
ZTE devices typically don't have a SPF module. Bridge or pass through mode is the way to go.Internal photo of the F670E, but can't imagine the F670L is much different.
https://fccid.io/Q78-ZXHNF670E
-
@demonaii said in Fiber optic to pfSense Box:
What should I look for when searching for an SFP module that is compatible with my box and the ISP ?
One factor is the wavelength used for you. With fibre, multiple wavelengths of infrared are used to connect different customers. The ISP can use Coarse Wavelength Division Multiplexing (CWDM) for multiple connections over the same fibre, with a diffraction grating filter to separate them. Your ISP will have to tell you what to use. However, if they already provided a gateway, you may be able to find out by reading the info on the SFP.
-
How does it look like from a security standpoint? Am I more or less secure with or without the ZTE, if we assume that I configure the pfSense the right way ?
Does the module in the modem differ from your usual modules ? I mean, I would have to disassemble the whole router to even see it. I still do not have my pfSense box.
There are three options:
- Use SFP module by ISP or from a 3rd party vendor
- To use a media converter, however, I still would be with the same number of devices.
- Use standard RJ45 cable
From the information I've gathered, I come landed on three different SFP modules.
In my second post I talk about conflicting information between the manual in the box what the internet says about this matter. -
@demonaii From a security standpoint you are as secure as your pfSense config is done - with or without the ISP box in bridgemode.
Getting a GPON SFP module (even if you can get all the relevant info from your ISP to configure it) is exactly the same as running the ISP box in bridgemode.
In fact, a GPON SFP module for pfSense is a small GPON to Ethernet Bridge with a running Linux distro within the SFP module to configure and manage the bridge on it - Exactly like the ISP box in Bridgemode. The only difference is you have to configure it with the relevant ISP settings, and perhaps a slightly lower power consumption. -
@demonaii said in Fiber optic to pfSense Box:
Does the module in the modem differ from your usual modules ? I mean, I would have to disassemble the whole router to even see it. I still do not have my pfSense box.
There are three options:
- Use SFP module by ISP or from a 3rd party vendor
- To use a media converter, however, I still would be with the same number of devices.
- Use standard RJ45 cable
So the ZTE seems to have the media converter built in. So what do you have going into the slot at the bottom right? Isn't that your patch cable/fiber, looking like one of these perhaps?
Then you just need a compatible SFP module, with the correct wavelengths.
Alternative two will, as you say, not save you any equipment, and as others are saying you can always simply continue using the modem in bridge mode.
-
My optic fiber looks like this :
My biggest concern when deciding on a compatible SFP module is the wavelength. My ISP wont be happy if there is a mismatch in laser wavelength. Probably could burn their equipment, who knows ?
If I understand it correctly, wavelength downstream is RX (1490nm) and wavelength upstream is TX (1310 nm). Am I right?
When I checked the information for the connector type, it looks like this is an SC/APC connector because it is angled, while the SC/UPC is not angled at all.
-
@demonaii said in Fiber optic to pfSense Box:
My ISP wont be happy if there is a mismatch in laser wavelength. Probably could burn their equipment, who knows
It just won't see any data.
A much bigger issue is that the ISP has to accept 3rd party GPON devices on to their network and, AFAIK, most do not.
-
@demonaii Yeah - please make sure you understand that GPON is NOT Ethernet. So we are not talking a traditional Ethernet SFP module here. You need a GPON to Ethernet Bridge SFP module. I use this model in my Netgate 2100 in France:
https://www.fs.com/de-en/products/133619.html
Works like a charm, but let me assure you - that is only the case because there are hundreds of frenchmen doing reverse engineering on how Orange (ISP) have setup their GPON infrastructure - AND - still - It’s only possible because Orange also have a “leak” through one of their technicians, and he provides important needed information for actually passing authentication with a non-orange GPON unit.
Without the leaked information from him it would be impossible.
It requires a lot of SPECIAL DHCP config and DHCP options in pfSense along with a little config and MAC addr./device ID cloning from a Orange router to the Linux running within the SFP module. -
@demonaii said in Fiber optic to pfSense Box:
Probably could burn their equipment, who knows ?
It wouldn't burn the equipment but it could interfere with another customer. The wavelength could be any of several. Also, sometimes the same wavelength is used for both directions, with a duplex fibre. Other times it's two wavelengths with simplex fibre.
And yes, I do have hands on experience with this stuff with a telecom company.
-
@demonaii So the type of module that keyser suggested will probably work fine. It has to be one with a full width opening to take that connector you are showing. There are bidirectional modules that have a single half size slot but they will only take the smaller connector you see on the right in the picture I pasted.
Also, to make sure MAC address isn't becoming an issue, simply locate the MAC of the ZTE modem and copy it over to pfsense. It's probably printed on the back of the device, or you will find it in the UI for "internet connection".
Worst case, you end up sending the module back and you have to stick to running the modem in bridge mode. -
@Gblenn said in Fiber optic to pfSense Box:
@demonaii So the type of module that keyser suggested will probably work fine. It has to be one with a full width opening to take that connector you are showing. There are bidirectional modules that have a single half size slot but they will only take the smaller connector you see on the right in the picture I pasted.
Also, to make sure MAC address isn't becoming an issue, simply locate the MAC of the ZTE modem and copy it over to pfsense. It's probably printed on the back of the device, or you will find it in the UI for "internet connection".
Worst case, you end up sending the module back and you have to stick to running the modem in bridge mode.The module I suggested uses the LC connector of the fiber the OP has. The other modules you are referring to as bidirectional is not GPON modules, they are BiDi Ethernet modules and has nothing to do with GPON.
GPON is a single fiberstrand passive optical multiplexing technology - something completely different than optical Ethernet - both in specs, transport framing and signaling.Regarding the MAC address cloning - doing it in pfSense does not help as it is the GPON interface in the SFP that logs into the GPON tree. So you need to clone the MAC address to the GPON interface of the SFP which is controlled by the built in Linux inside the SFP. After that has logged in to GPON, then it enters bridge mode so the pfSense Ethernet frames are bridged to the GPON transport by the SFP module. Here it may or may not be nescessary to have the same MAC address in pfSense as The GPON module used for login (Depends on the ISP)