Well, this is the pinout...

Notice the colors of the wires at the bottom of diagram.
wht-ora goes to black
blu-wht goes to red
wht-blu goes to green
ora-wht goes to yellow
/e Yeah your phone line is red-green and blk-yellow. Those are the two telco pairs.
Like put the black telco wire and the wht-ora CAT5 wire on one screw.
Put the red telco and the blu-wht on another screw.
Put green telco and wht-blu on another screw
Put yellow telco and ora-wht on the last screw.
Just coil up the leftover CAT5e wires and store in the wall jack, or cut off.
Then just use a telco wire from the wall jack to the modem?
Hell, if ya wanna get really red-neck about it, you could just wire the telco line and the CAT5e together and don't even use the wall jack.

/ee In the old days the telephone company (telco) used to use just solid colors, for the tip and ring pairs. But they soon realized that this wouldn't be enough colors.
So they came up with the much larger color code that we use today, like blu-wht/wht-blu etc.
By way of an example...
This post was edited by Ghot on May 12 2018 06:53pm