The best way to run the quali.exe file is to create a shortcut to the file and modify the target to:

[path to quali.txt] [ip] [server port] [return port] "[admin pass]"

That way you wont have to go into MSDOS and type the command every time you restart the tool.

If you want the LFS server to send the packets back to the same port as you are sending them from, [return port] should be 0 (I always use this option).

Example:
C:\LFS Quali\quali.exe 213.25.61.42 29800 0 "myPass"
to connect to a game at 213.25.61.42 at port 29800 using myPass as pass. All communication will be done on port 29800.