While it may be legal for you to gamble online in the US according to the national government, your state may disallow this and may get you in hot water if you try it. In the US, for example, you may need to check state laws for restrictions when it comes to online gambling.