Re_pollak valves, in a dual tank system, for the sake of reliability I use 2 three port ball valves, both mounted in the driver's side seat box, one to switch from diesel to oil and the other to divert the return line fuel into the appropriate fuel tank.
Also another good tip is to fit a vacuum gauge, this will let you know if your filter is starting to clog up, fit a T piece in the veg oil fuel line, between the filter and the IP, the lower the reading on the vacuum gauge, the better the filter, I have had the same filter for a year now and the gauge is still showing in the red ( poor vacuum ).
Kind regards...Ron