Federal and state laws do not explicitly make online gambling illegal. They, however, make it very difficult to put wagers. The buck stops with the casino operators that allow you to bet. Therefore, you don’t break any law.