Just did this on my '79 CJ7 today, and it uses the same style fuel filter as the one in CJinDNA's link above. The fuel line down the right side of the vehicle goes over top of the valve cover (assuming you have the stock 258) and plugs into the side of the filter with the single plug. The return line on the left side of the vehicle plugs in to the smaller of the two plugs on the other side of the filter, and the larger plug runs right into the carb. If I remember mine right now, there is a large obvious plug on the front of the carb.
Hope this helps, and wasn't too confusing