For small areas such as the vegetable garden, some form of physical barrier is probably the best way to deal with most rabbit situations, if you are in an area with a healthy rabbit population.
For a detailed file all about dealing with rabbits click here.
However, we feel that the sure method is having a male cat in the family. In our experience, his practice of “marking” his territory has significant effect on the rabbit population in the yard.
Rabbits, if they are really pesky, can probably be repelled by aggravating them to their limit of tolerance.
Remember, if you choose to trap a pest rabbit, you must not simply take the pest out to the boonies and let it go. Transporting rabbits to other places is bad for the ecosystem and usually against the law. The trap is to catch the rabbit so you can kill it humanely.