Are you connecting through or Via a router.
If so log in to your router.
See what the status of the hardware firewall is set to.
High will block most games, medium some.
And low none at all.
Make sure Upnp is enabled in the router.
And setup port forward conditions in the router for the games you use and the ports used in each of internet play.
Example port forwarding setup in router for BF 4
TCP: 80, 443, 9988, 20000-20100, 22990, 17502, 42127
UDP: 3659, 14000-14016, 22990-23006, 25200-25300